취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

USB 6212

해결 완료!
솔루션으로 이동

Hallo, 

 

I have a USB 6212. I want to sample the digital signal from the channels P 0.1 to P 0.3. After reading the data sheet of the USB 6212, there is no timing engine for the digital channels. But is it possible to set the sampling rate for them?

 

Best regards

0 포인트
1/6 메시지
4,502 조회수

Apparently not.  I'm kinda surprised at how few of the M-series USB MIO boards seem to support hw-timed DIO.  The desktop plugin boards that I'm more familiar with always did.

 

What kind of sample rate are you hoping for?  Can you sample the signals via AI channels instead?

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 포인트
2/6 메시지
4,491 조회수

Hello Kevin,

 

sorry, I must use these three digital channels to sample the signal. I have tried to using the sampling clock with the rate 1000Hz, but it returns an error code -200077.

 

I have read some posts from the forum, another idea is to use the counter to generate a pulse, but the two counter of 6212 have already been used.

 

Best regard

 

0 포인트
3/6 메시지
4,473 조회수
솔루션
주제 작성자 TUDarmstadtLLX이(가) 승인함

for the USB 6212 you have to depend on the OS for timing and read the lines repeatedly at a fairly constant rate. 


"Should be" isn't "Is" -Jay
4/6 메시지
4,461 조회수

Hello,

thanks for your reply. 

This link seems to provide some solutions. I have tried the third one, but it doesn't work. Can some one help?

Best regard

0 포인트
5/6 메시지
4,430 조회수
솔루션
주제 작성자 TUDarmstadtLLX이(가) 승인함

Based on my quick reading of the specs for the USB-6212, none of the first 5 suggestions in that link are even possible.  The board simply doesn't (seem to) support *any* kind of hw-timed DIO, regardless of the source of the timing signal.

 

It's highly unlikely the 6th suggestion can help you either.  Sorry, but by all appearances, you're fully stuck.  You either need to change hardware or change requirements.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
6/6 메시지
4,421 조회수