02-13-2008 02:00 PM
02-14-2008 08:22 AM
If you can send me the code/your project files I will have someone on my team (MIG) look into this. Do you have full DAQmx installed or are you using a runtime? Can you send us the debug version with pdb's (or your entire project would be much better)? Are you using XP or Vista? The way I am reading this the error only occurs on startup after a reboot correct? Finally, (at least for now) what are the specs of your computer?
StuartG
02-14-2008 09:41 AM
02-15-2008 09:59 AM
03-26-2008 08:34 AM
03-27-2008 09:53 AM
PhonoX
Can you let me know if you used one of the property nodes I mentioned to accomplish this or did simply upgrading to 8.7 solve the problem?
Thx
StuartG
03-27-2008 11:51 AM
// start read NI (in load_Form)
this.backgroundWorkerNIInput.RunWorkerAsync();...
{
// enable Bgw events this.backgroundWorkerNIInput.WorkerReportsProgress = true; try{
Log("creating Task ... NI"); using (digitalReadTask = new Task()){
Log(
"starting ... NI");digitalReadTask.DIChannels.CreateChannel(m_NIReadDevice,
"",ChannelLineGrouping.OneChannelForAllLines); bool[] dataArray = new bool[4]; DigitalSingleChannelReader reader = new DigitalSingleChannelReader(digitalReadTask.Stream);....
03-28-2008 10:07 AM
Can you try utilizing one of the DAQmx system properties in your code before you create the task? Just do something like querying the devices in your system. In theory this should block until all appropriate resources have been loaded properly upon startup.
StuartG
04-10-2008 09:32 AM
04-30-2008 03:19 PM