01-22-2010 05:14 PM
I've just downloaded NIDAQ902f0.exe and installed. MAX reports version 4.6.1f0.
Using MAX I have a device NI PCI-6731 with 4 analog output ports (Dev1/ao0 - Dev1/ao3).
When I run my program and try to create a write task:
// Ask the NIDAQmx API to create a new task object.
ecode = DAQmxCreateTask("Write TTM actuator commands", &ni_write_task_);
I get ecode -229771:
Processor.cpp:1094: ecode = -229771, Internal Software Error occurred in MIG software. Please contact National Instruments Support.
Task Name: Write TTM actuator commands
Status Code: -229771
Any thoughts?
Solved! Go to Solution.
01-22-2010 06:48 PM
01-23-2010 11:49 AM - edited 01-23-2010 11:59 AM
Hmmmm. Seems ok on spec-
contains this GEM "
Hardware-timed single-point mode and hardware-timed nonbuffered mode are nonfunctional. Your application is using hardware-timed nonbuffered mode if you have set up a sample clock and a buffer size of 0, or set up a sample clock, but do not begin writing until after you start the task. All other waveform and static analog output modes work as expected."
I can't see why this would be specific to the 6715 and not general to the 67xx family.
The explaination is a bit vague- I'ld like some additional information
NI Appl engineers are available - I just rqd help from Contact NI: https://sine.ni.com/apps/utf8/nicc.form_generator_info_submit
01-25-2010 09:47 AM
Are you using a 32-bit or 64-bit version of Windows? And is it XP, Vista, or Win7? What application development environment are you using? (Visual Studio 2005, 2008, etc.)
Also, could you try opening the Command Prompt in Administrator Mode and enter "net start mxssvr"?
Thanks,
01-26-2010 02:26 PM
I was stommping on some memory else where in the program, by the time I got to the NI calls, I corrupted some memory.
After fixing my memory problem, all is working as expected!