08-17-2009 02:15 AM
i have a VI which gets real time data from a device.The data is recorded in an excel file in 3 column's.I need a marker to break the data into different sets & the marker should read o or 1 & the marker data should be stored in 4th column of the same data.The data & marker will be recorder simultaneously & the marker signal comes from a sub VI which has a 3V output pulse.Can anyone suggest me ways to get it done?
Thank you,
Labfreak
Labview 8.5 version.
08-17-2009 03:27 AM
Hi labstar,
why can't you write your marker with the other data? Can you explain a bit more?
Mike
08-17-2009 12:12 PM
hello mike,
i need the marker along with the same data so that i can separate the data depending on the marker.It gives me accurate results.Hope it answered your qs.Awaiting a reply,
Labstar
LV 8.5
08-17-2009 01:03 PM
Allow me to rephrase to Mike's question. What specifically is giving you problems?
An "Excel" file is stored in an XML based format (as of 2007). I doubt you are doing that. I suspect you are writing to a generic spreadsheet format which Excel can read. If that is the case, simply append your 0 or 1 to the other 3 data values. If this part is giving you the trouble, post your code or a screenshot.
SubVIs can have many outputs, but a voltage pulse is not one of them. It could output the number 3 with units of volts, but I suspect you are controlling a board or similar device to output 3V and you'd like the value 0 or 1 depending on the output state. Usually not hard to implement, but once again, code or a screenshot will be necessary. If your subVI simply turns the voltage on or off and stops running, a simple comparison inside your acquisition loop is probably all that is necessary. If it runs continuously in a parallel loop you have other options to share information.