LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Genius network communication process registration

Hi,

  I'm having a problem with analogue signal analysis. The solution would be if the following was possible:

- activate the trigger with signal value change (feasible, I use "Trigger and Gate")

- pass as an Triggered Signal lets say 480 samples (easy, but not with the following...)

- start the detection of the next trigger after 440 samples of the previous one.

So, what I would like to do is to pass as a Triggered Signal more samples that there is in the trigger. Is that possible?

 

 

If the above is to vague, I will try to give some details:

- What I want to do precisely  is to create a Genius Network Analyses. I have an analogue input connected to the Genius communication bus. At this point I store the data from the analogue input into HWS file.

- In the attachment there is a VI I've implemented ("01 Acquisition.vi"). It gets as an input the HWS file mentioned above (with Genius waveform) which is to be analyzed, i.e... characters and frames sent through the Genius communication network are to be detected.

- Every character in Genius network has 11 bits, one starting bit (always 0), data byte, control bit, and stop bit (always 1). Bit "1" is a 0 value on the analogue input for a specified time. Bit "0" is represented by three pulses.

- So far I have done the analysis of characters, but I have a problem with detection of a frame end. The solution would be to check after every detected character whether there is another character immediately following the first one. But to do so I need to have information about the waveform that follows the detected character. Or maybe there is another way?

 

About the VI attached:

- there are actually 3 VIs. The main one is "01 Acquisition.vi"

- the "01 Acquisition.vi" reads a waveform from HWS file chosen from "Array of HWS input data parameters" - you choice an element from that array using "Chosen HWS input data parameters" (watch the indexes...)

- after running the VI, the HWS waveform will be shown in "Acquired signal" graph. When you use "Genius09.hws" file as an input, you will notice a waveform with non-zero values in 6 groups - those are Genius communication frames

- after the waveform analysis is finished, all detected Genius characters will be shown in "Genius chars" array on the right

But how to detect this "space" between Genius frames? (one of the spaces is pointed out by cursors).

 

If something is unclear please do not hesitate to ask 🙂

Any kind of help would be appreciated.

Jacek

 

 

0 Kudos
Message 1 of 2
(2,512 Views)

Helly Everybody,

 

  If interested in the topic, please follow the forum thread below:

 

http://forums.ni.com/t5/LabVIEW/trigger-and-gate-how-to-change-the-number-of-samples-for-the/td-p/14...

 

Best,

 

David Varga

NIH

0 Kudos
Message 2 of 2
(2,482 Views)