Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Serial Interface need to plot data obtained @115200 baud

Hi All,

 

I'm new to labview2010 working on harmonic analysis of power signals. Data is obtained from a serial port @ 115200 baud

from a 2 channel 8bit ADC. I need to separate the data plot the wave form of both current and voltage individually.

 

Worked out few modules taking help from internet but could not succeed. I want to see the continuous wave form from the

real time parameters.

 

Any suggestions and guidance is appreciated

0 Kudos
Message 1 of 5
(3,393 Views)

did you look at the help for the producer-consumer template?

greetings from the Netherlands
0 Kudos
Message 2 of 5
(3,389 Views)

Besides pushing the file write to a consumer loop, it makes no sense to configure the serial port, open it, and close it with each iteration. The Configure and close should be outside the loop. The VISA Open is not required at all. If you are getting 2 bytes of hex data, you also want to disable the termination character with the Configure Serial Port. The string subset functions are also not required. Just take the string and use the String to Byte Array function.The use the Index Array function.

0 Kudos
Message 3 of 5
(3,386 Views)

Hi Dennis, thanks for the help, do you suggest any online tutorital for learning.. that might be helpful

0 Kudos
Message 4 of 5
(3,370 Views)