08-22-2018 01:58 PM
@lm35 wrote:
now for the code should i use a peoperty node inside the for loop or while loop, or any other ways to store the adc vaues in txt file, any code correction or code would be helpful.
No, you should not be using the Bytes At Port property node. You need to follow the protocol that the micro-controller is using to send the data. Otherwise you will get bad values.
08-22-2018 03:10 PM
Thanks dude.
what should i do with the for loop(for visa read) should i remove or replace it with a while loop with delay inside or simply put in a case structure something like that.
08-23-2018 02:46 AM - edited 08-23-2018 02:49 AM
Hi "dude",
please keep "technical" questions in the public forum…
Try this:
You really need to define/explain the formatting of the strings/data you receive from your device!
(And please stop calling everyone "dude". We all use nicknames, some of us also write their first name.)
08-23-2018 07:31 AM
@lm35 wrote:
what should i do with the for loop(for visa read) should i remove or replace it with a while loop with delay inside or simply put in a case structure something like that.
Again, WHAT IS THE PROTOCOL OF THE MESSAGE DATA? We cannot give any real help without that information.
08-27-2018 02:57 PM
Dear Mr GerdW,
Thanks for the help, the code is working now.
09-06-2018 09:23 AM
Dear Mr GerdW, In this code i am having some timing problem, after running some time i am getting corrupt data means the flow of data is not constant and after i have created around 10000 files the flor loop counter is not running to 304 instead it running to some ranndom no.plz help i am attaching mz code
09-06-2018 09:25 AM
format of data
09-06-2018 09:27 AM
data format