LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa Serial

Hi,

 

I am trying to send some 6 data of Voltage and Current from Microcontroller to the Labview via Visa Serial. I want to send the data and display it is 6 different oscillescope in labview. If anyone has any idea please do reply

 

Regards

0 Kudos
Message 1 of 5
(3,190 Views)
What have you done so far? Most of the work is going to be programming the micro. If you program it to send all of the values at once, then send them with a separator such as a comma between values and terminate with a carriage return or line feed. If you have some LabVIEW code, please attach what you have with some actual data shown from the VISA Read. Use the Make Current Values Default option for that.
0 Kudos
Message 2 of 5
(3,155 Views)

Hi SrisTik,

 

i think Dennis is right. You can define while programming the controller how the string is seperated and how often the values are sent.

 

I would also suggest sending six values at the same time and splitting the string.

 

I've attached a simple VISA VI with a conversion VI for six Values.

 

Hopes this helpes,

 

Kind Regards,

 

P.Kost

AE | NI Germany

Download All
0 Kudos
Message 3 of 5
(3,106 Views)

Hi, I did as told. I sent the Voltage data as string one after another and then used Srting subset to get the substring of respective number. By using string to decimal string to number, I was able to extract the value. Thank Very much for the help. Really apreciate it. 🙂

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

Why would you use string subset instead of Spreadsheet String to Array? Why use String to Decimal Number? That converts everything to an integer.

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