ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232 + Camera

Solved!
Go to solution

I am not sure I (and probably others too) understood your problem properly.

1) Do you have a difficulty capturing data ?

2) Do you have a difficulty saving the data ?

3) Do you have a difficulty converting string data to integer data ?

 

Can you give a sample string of the data coming from the machine.

0 Kudos
Message 21 of 24
(729 Views)

@Rohit_Chawla

I capturing data properly as format string (the data is wieght from balance), In my VI I have too acquisition for thermocouple and sensor and I save the all of them in "Write on file of mesurment", my problem is: "Write on file of mesurment" support juste the Integer format, then I must convert the signal string to Integer (is my solution) maybe you have other solution

best regards

0 Kudos
Message 22 of 24
(713 Views)

Hello hmed.

I dont really work with the labview file format for my data storage, hence I wouldn't be able to answer you on that.

But I build softwares for my machines (Tensile Testers) which have load vs deflection data coming from the machine.

I split the string and separate the load and deflection values.

I then plot a graph and put this all on a PDF report.

 

In some variants, I have to save the data or user inputs for which I use a simple Text file which allows me to save data in Alphanumeric format. So your string could directly go into the TEXT File.

 

I am almost certain that the LVM (Text) format should allow usage of alphanumeric strings and not restrict it to numbers / integers only.

I think we used the LVM in the past to store the same data that we now store in a TXT.

 

For all purposes, I feel that the write to text file option is more convenient. Its so much easier to read and write to a TXT file or a Spreadsheet XLS,

Ofcourse if the application is simple (like mine).

 

For a lot of data and database type application, I guess TDMS / LVM file may offer better control.

0 Kudos
Message 23 of 24
(695 Views)
any way, thank you Chawla
0 Kudos
Message 24 of 24
(669 Views)