LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get waveforms directly through VISA

Solved!
Go to solution

@crossrulz wrote:

I could have sworn I saw people put multiple variables into a PrintLn command.  But after some quick Googling, I can see I was wrong.  So you will need something like this then:

Serial.Print(voltagesensor);
Serial.Print(",");
Serial.PrintLn(current);

I'm sure you can.  Serial.Print or serial.println is sending a string.  So when you separate things by commas, you are sending 3 parameters when the function only looks for one string.  If you Concatenate the 3 values together, it should make a single parameter of a string.

 

Serial.PrintLn(voltagesensor & "," & current);

 

 

0 Kudos
Message 51 of 51
(315 Views)