Hi,
I want write here some questions for my project.
First questions:
I have a digital waveform. How I can get count of samples from this waveform?
Regards Zdenek.
Some questions
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: Some questions
Use "Get Waveform Component" to get the Signal Array, and than "Array Size" to get the count of elements in the array.
-
- beginner
- Сообщения: 18
- Зарегистрирован: 27 июл 2010, 15:23
- Версия LabVIEW: 9.0
- Контактная информация:
Re: Some questions
THX, it works. I have next question. When I click in graph, I will move cursor in this position. I handle event click on graph and decode horizontal coordinate. How I can translate this coordinate to cursor.PosX?
Thank you for you reply. Zdenek
I have idea that I get start of waveform , end of waveform from graph and graph width and then I compute position by this formula: ((endWave - startWave) / graphWidth) * mouseClick.CoordinateX. If it is possible, how I can get from graph showed startWave and end wave?
Thank you for you reply. Zdenek
I have idea that I get start of waveform , end of waveform from graph and graph width and then I compute position by this formula: ((endWave - startWave) / graphWidth) * mouseClick.CoordinateX. If it is possible, how I can get from graph showed startWave and end wave?
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: Some questions
Why you don't want to use built in cursors function of the graph?zidz писал(а):THX, it works. I have next question. When I click in graph, I will move cursor in this position.
-
- beginner
- Сообщения: 18
- Зарегистрирован: 27 июл 2010, 15:23
- Версия LabVIEW: 9.0
- Контактная информация:
Re: Some questions
Because I am absolute beginner ;) Can you please specified it? Where I can find this function? I need make this: when I click into graph, then I need move cursor in this point (only X coordinate is fine)...
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
-
- beginner
- Сообщения: 18
- Зарегистрирован: 27 июл 2010, 15:23
- Версия LabVIEW: 9.0
- Контактная информация:
Re: Some questions
Yes, i have it. But when I choose allow dragging = single plot (free dragging is bad because I can go with cursor behind end wave) and I zoom wave, I can't scroll wave with cursor. So I though, that I scroll wave with scrollbar and then I click in wave and cursor'ld come. :)
-
- beginner
- Сообщения: 18
- Зарегистрирован: 27 июл 2010, 15:23
- Версия LabVIEW: 9.0
- Контактная информация:
Re: Some questions
Hello,
I have next problem. I have digital waveform and I will show in grapf next waveform, which is first waveform in hexadecimal state (each 8 bits in first waveform = one hexadecimal number in second waveform). Please consuit me, how I can make it. Thank you for you reply.
Regards Zdenek.
I have next problem. I have digital waveform and I will show in grapf next waveform, which is first waveform in hexadecimal state (each 8 bits in first waveform = one hexadecimal number in second waveform). Please consuit me, how I can make it. Thank you for you reply.
Regards Zdenek.