From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI6534, Pattern Gen Loop, Dig_block_out, count var won't work

I am trying to use the pattern generation loop and the count variable in the Dig_block_out function to control the frequency of a repeated block of output. Most values for count hang up the program, but some work fine. I need to be able to use any number for count. I am using visual basic.
0 Kudos
Message 1 of 4
(2,581 Views)
Hello Tegan,

Are you running of the shipping examples? if so, which one? Also, what does it do when it does not work? Do you get an error and what does it say?

Serges Lemo
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,580 Views)
Serges Lemo-
I am not using one of the NI provided examples, but I did use one of those examples to build up my code. When it does not work I get the following error:


[DIG_Block_Out] returned NI-DAQ error -10800.
The operation could not complete within the time limit.
Continue?

A couple of examples of when it does and does not work: it works for count = 4000,10000; it fails for count = 4762,5000.
0 Kudos
Message 3 of 4
(2,573 Views)
Hello Tegan,

I am still not quite sure what is causing this problem since you are not using a shipping example.
I proposed you check the following posts for more information:
http://forums.ni.com/ni/board/message?board.id=70&message.id=1807&requireLogin=False
http://zone.ni.com/devzone/conceptd.nsf/webmain/e5a26c86e0c32e4886256be20050e9e3?OpenDocument
http://forums.ni.com/ni/board/message?board.id=70&message.id=1572&requireLogin=False

Serges Lemo
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,562 Views)