12-16-2024 04:04 AM
I need help in automation process.
where i will send serial configuration data from python like baud rate, parity, data bits, stop bits to the labview via tcp/ip so it automatically should the change the values in VISA configure serial port.
can someone help?? how i can store data in labview sent from python and process it to change the visa configurations.
12-16-2024 09:06 AM
@Anup130901 wrote:
I need help in automation process.
where i will send serial configuration data from python like baud rate, parity, data bits, stop bits to the labview via tcp/ip so it automatically should the change the values in VISA configure serial port.
can someone help?? how i can store data in labview sent from python and process it to change the visa configurations.
No problem all those tasks are relatively easy. Have you written any code yet?
12-16-2024 10:18 PM
i have written the python code, but im facing issues in labview code can someone tell hwo should i implement the labview code?
12-17-2024 02:51 AM
i tried and its working i have attached image also, but now i want to read data from the same file after writing data, but it is reading data first. and i want to split that data and automatically configure the "visa serial configure port" block.
12-17-2024 03:38 AM
Hi Anup,
@Anup130901 wrote:
now i want to read data from the same file after writing data, but it is reading data first.
and i want to split that data and automatically configure the "visa serial configure port" block.
So you need to parse the received string!
There is a full palette of string functions you could use for your task…
What have you tried so far, where are you stuck?
12-17-2024 01:15 PM
Here is a basic way using Spreadsheet String to Array since you have a comma-separated string.
There are many other ways to do this of course, but this should get you started...