LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital waveform editorで作成した波形をPXIe-6536で出力

Digital waveform editorで作成した波形をPXIe-6536で出力したいのですが、どのようにすればよいでしょうか.

 

 

対応が正しいかわかりませんが、現状では以下のようなアプローチをとっております.

 

 

 

①Digital waveform editorで波形を作成

 

  1. .hws形式のファイルとして出力して、
  2. 「NI-HWS Express(load)」に読み込み
  3. デジタル波形グラフVIで出力を確認しました.

 

②PXIe-6536用にDAQアシスタントを作成

 

  1. PXIe-6536でのデジタル出力
  2. DAQアシスタント作成時画面でテスト波形の出力
  3. NI CB-2162上で波形が出力されていることを確認
  4. DAQアシスタント作成完了 

 

 

というところまでを行いましたが、いくつか気になる点があります. 

 

 

  •  DAQアシスタント単体で実行すると、エラーが出る

 

「エラーコード-200077がDAQmx Write (Digital 1D Wfm NChan NSamp).vi:3で発生 

 Measurements:  要求された値は、このプロパティでサポートされている値ではありません。

 

プロパティ: Output.BufSize

要求された値: 0

 

最小値: 2

最大値: 4294967295」

 

 

  • DAQアシスタントとHWS読み込み用VIの接続を添付ファイルのようにForループ内に入れなければ接続できない 
  • 以後、サンプルレートの設定などを行うにはどのようにすればよいか.

 

 

 

といった状況です.

 

 

当方、Labviewに関しては全くの初心者であるため、 上記のような方法が適切であるかわかりません.

至らない点も多いかとは思いますが、お気づきの点がございましたらご意見いただけますようお願いいたします.  

 

0 Kudos
Message 1 of 4
(3,205 Views)

Try posting in english here

 

 


Translation

 

 

Digital waveform editor to create waveforms PXIe-6536 I want to output, what do I like?

 

 

I do not know the correct response is, at present we take the following approach.

 

 

 

① Digital waveform editor creates a waveform

 

   
1.. Hws as the output file format
   
2. "NI-HWS Express (load)" read
   
3. VI confirmed the digital waveform graph output.

 

② PXIe-6536 for creating DAQ Assistant

 

   
1. PXIe-6536 digital output in
   
2. DAQ output waveform creation screen test assistant
   
3. NI CB-2162 has been confirmed that the output waveform on
   
4. DAQ Assistant SUCCESS

 

 

Is conducted to the point where there are some drawbacks, however.

 

 

    
* DAQ Assistant, you run alone, I get an error

 

"-200,077 Error code is DAQmx Write (Digital 1D Wfm NChan NSamp). Vi: 3 occurred in

 
Measurements: Requested value is a value that is not supported at this property.

 

Property: Output.BufSize

Requested value: 0

 

Minimum: 2

Maximum: 4294967295 "

 

 

    
HWS * DAQ Assistant VI to read the attached file for the connection can not connect For the loop to be taken into
    
* Thereafter, the sample rate settings do and what do I like?

 

 

 

Such situation.

 

 

Us, Labview for complete beginners because it is, I do not know how you like the above is correct.

And I think there are many points, but fall short, you can ask that solved until you have any opinion you have any


 

0 Kudos
Message 2 of 4
(3,196 Views)

NaSi  様

 

平素より弊社ディスカッションフォーラムをご利用頂きまして誠に有難うございます。
日本ナショナルインスツルメンツ黒須と申します。

 

下記リンクにHWSファイルから読み出しデジタル出力を行う方法が記載されておりますご確認ください。

 

[How Can I Generate Digital Waveforms Saved by the Digital Waveform Editor?]
http://digital.ni.com/public.nsf/websearch/997B7415048FD4CD86256F42007A9397?OpenDocument


DAQアシスタントでは対応できないと思いますので、下位のDAQmx関数で記述いただければと思います。

サンプルを添付いたしますのでそちらもご確認いただければと思います。

 

よろしくお願いいたします。

このメッセージは  02-27-2010 03:42 AM
に H.KUROSU が編集しています。
0 Kudos
Message 3 of 4
(3,143 Views)

日本ナショナルインスツルメンツ

黒須 様

 


ご提供いただきましたサンプルviを参考に、DAQmx関数を使用することで解決できました. 

ご回答いただき、誠にありがとうございました. 

 

 

0 Kudos
Message 4 of 4
(3,109 Views)