06-20-2023 04:54 AM
Dear All,
I have voltmeter data coming serially from voltmeter to the PC through Rs-232 cable continuously.
I am able to continuously observe the reading from the voltmeter.
Now , i want to save this incoming data in an excel sheet.
Can anyone help me with it.
I am attaching my VI here.
Thanks in advance
Solved! Go to Solution.
06-20-2023 06:10 AM
Hi Rao,
@RaoJaved wrote:
Now , i want to save this incoming data in an excel sheet.
Can anyone help me with it.
Save the strings you receive from your device to a text file.
Excel is able to open text files!
Please watch this video to learn how to improve your simple serial VI…
06-21-2023 12:52 AM
I have tried two configurations and I am facing error (screenshots attached herewith) when i try to save the data coming from VISA read into a .txt file. Please help me to rectify.
I am attaching the code as well.
06-21-2023 01:43 AM - edited 06-21-2023 01:43 AM
Hi Rao,
@RaoJaved wrote:
I have tried two configurations and I am facing error (screenshots attached herewith) when i try to save the data coming from VISA read into a .txt file. Please help me to rectify.
I am attaching the code as well.
See this simplified snippet:
Error 7 has a meaning: did you read the error explanation and did you verify your file operations actually can access the file in the expected location?
06-21-2023 05:06 AM
Dear Sir,
I am looking at the errors.
Can you please tell me the name of the icon in the attached snippet?
(What should i type in the search box to pick this module.)
Thanks for help sir.
06-21-2023 05:50 AM
Hi Rao,
@RaoJaved wrote:
Can you please tell me the name of the icon in the attached snippet?
CompoundArithmetic (set to OR inputs)…
I gave you a snippet, which you could drag and drop into your block diagram to receive the underlying code. Please read the LabVIEW help for "snippets"!