hema413 Posted August 17, 2010 Share Posted August 17, 2010 I have created channels using labjack ue9 pro and logged data from channels .it is working. Now i have averaged the data coming from channel . This i have done in the expression column of variable vale and is of this form. Mean(volt[0,200]-1.250900) Now the variable is named as avg2 and is displayed and is working well.Now i wanted to log this avg2 to excel file. I tried with sequences and logging set.But i could not able to log. I am going wrong somewhere. Kindly help me. Thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted August 17, 2010 Share Posted August 17, 2010 You can't log a variable using a logging set. Channels only. Use an export set instead, and trigger the export set every second from a simple script. Link to comment Share on other sites More sharing options...
hema413 Posted August 19, 2010 Author Share Posted August 19, 2010 I do not know how to write script. Kindly provide with an example or sample code Link to comment Share on other sites More sharing options...
hema413 Posted August 20, 2010 Author Share Posted August 20, 2010 how to log an export set in DAQ factory. Kindly provide me a link thank you Link to comment Share on other sites More sharing options...
AzeoTech Posted August 20, 2010 Share Posted August 20, 2010 while(1) beginExport(myexport) delay(1) endwhile This would run the export set called "myexport" every second. In the export set, make sure all your expressions have [0] after them. Select Snapshot from the details page. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.