07-05-2022 08:48 AM
Hi psuedonym,
@psuedonym wrote:
If he had written his Arduino code properly, he could send back readings from all 4 sensors with 1 response.
Yes, sure.
But according to other threads like this it seems also very hard to change the Arduino code…
07-05-2022 01:13 PM
@GerdW wrote:
Hi psuedonym,
@psuedonym wrote:
If he had written his Arduino code properly, he could send back readings from all 4 sensors with 1 response.Yes, sure.
But according to other threads like this it seems also very hard to change the Arduino code…
If he is using LINX maybe. I haven't used LINX so I can't comment.
I wrote my own Arduino code. All I know is that it is not a big deal to respond to a query from LabVIEW for all 4 sensor readings. LabVIEW sends S\r\n. Arduino responds with 11.11,22.22,33.33,4.44\r\n.
07-06-2022 02:39 AM
thanks
I'm not using linx im using visa. furthermore command 11 which can use to change the channels.
07-06-2022 03:24 AM
Then use for loop with command 11 to change the channels...
Are you literally sending a string "Command 11" to Arduino or is that just a placeholder name?
07-06-2022 04:27 PM - edited 07-06-2022 04:30 PM
@User002 wrote:
thanks
I'm not using linx im using visa. furthermore command 11 which can use to change the channels.
You do realize that you have to write the code for the Arduino too and you have complete control over it, right?
It seems you think that sending commands to the Arduino using VISA will get Arduino to do something.
.