キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Data Management Triggering

解決済み
解決策を見る

No, the DAQ is working just fine and the Write to Measurement is working just fine for one row at a time. The error in the VISA Read causes the loop to stop so there is only one row in the file that was attached.

0 件の賞賛
メッセージ11/14
955件の閲覧回数

Hi,

 

Really appreciate the help. I was receiving an error because it wasn't detecting my scale for some reason. It is now back to a calibrated 0.0. So VISA is fully functional. Now I tried changing it again using On Demand, test 7 shows what happened. That is exactly what I want, except now my x_value (time) isn't showing up. Test 10 shows when I run it continously and x_value (time) shows up. My VIs haven't changed, all I did as of now was replug my scale. So on demand is somehow doing what I want, but not completely. Thank you very much.

 

 

すべてをダウンロード
0 件の賞賛
メッセージ12/14
947件の閲覧回数
解決策
受理者 tiki12revolt

That is to be expected. When you acquire multiple points, the Write to Measurement File is going to use the dt of the waveform to calculate the time between samples and writes that to the file. When you use a single point acquisition, the waveform has a single value so there is no dt to calculate. The 0 in the file is a result of this. The Write to Measurement File would require extensive modifications to write the delta between the t0 values being passed instead of from the dt and number of samples. You can open the block diagram of Write to Measurement to see if the modification is something you would want to tackle. Otherwise, you can keep track of the elapsed time between single samples with a shift register and the tick count function, for example. Then you could use the Write to Spreadsheet or at an even lower level, Write to Text File.

0 件の賞賛
メッセージ13/14
941件の閲覧回数

So what I did now was I used the comment section on the write to measurement file and used that for my timestamp. What its doing now is I could either use a tick count for every row value or simply just use the computer time. Either one will work for my case but problem solved. Something trivial but good to know. Thanks a lot guys. 

0 件の賞賛
メッセージ14/14
934件の閲覧回数