03-13-2012 07:37 AM
I'm having an issue with Dasylab and NI_MAX. I have two task set-up in MAX. When I use these task in Dasylab it works correctly the first time, but when I run it the second time the channels shift 1 position. (Ex. Output 3 changes to output 2). It stays in the offset configuration. If I then go into MAX the first time I run MAX the channel is shifted 1 location. When I stop and start it it goes back to the correct location.
I do not not have a problem if I put all the channels in 1 task. Just curious if there is a problem using multiple task in Dasylab.
DasyLab 11
Windows XP sp3
MAX 5.0
Thanks
03-13-2012 08:34 AM
@djmac,
please tell us:
- the DASYLab version 11.?.?
- the NI-DAQmx version ?.?.?
- the used NI-DAQmx device(s) and all details for your created tasks
Is the problem only under DASYLab usage or also under MAX test usage?
Best regards,
MHa
03-13-2012 09:57 AM
Dasylab 11.0.0
NI DAQ MX = 5.0.0f1
DAQmx Devices
-9174
- 9219 (2)
- 9213
I have temp task whick has 9 channels (0-9) on the 9213. I also have a voltage task that use 4 channels on the first 9219 and 2 channels on the second 9213 (ch 0 and Ch 2).
If i just run MAX it is not a problem. The proplem occurs after running dasylab. Below is the sequence that causes problems
1. Run task in MAX (Good)
2. Run in Dasylab (Good)
3. Stop and restart dasylab (Values shift)
4. Run task in MAX (Values are still shifted)
5. Stop and restart MAX (Good)
When exiting out of both DasyLab and MAX they both ask if I want to save changes, even though I have not changed any settings. I have had this problem on another setup as well.
Thanks for the help
03-13-2012 10:40 AM
@djmac,
Please update DASYLab 11.0.0 with Service Pack 2.
Please update NI-DAQmx with 9.5.
Please check now again the situation.
Best regards,
MHa
03-14-2012 08:16 AM
Installed all updates and still have the same issue.
Thanks
03-14-2012 10:59 AM
@djmac,
1. Run task in MAX (Good)
2. Run in Dasylab (Good)
3. Stop and restart dasylab (Values shift) -> sounds that any API command from DASYLab for NI-DAQmx generate a reinit problem.
4. Run task in MAX (Values are still shifted)
5. Stop and restart MAX (Good)
Please attach
- your DASYLab worksheet
- your MAX task configuration
- a NISpy Log from DASYLab NI-DAQmx calls
to this thread. I would like think about the problem. Thanks.
Best regards,
MHa
03-23-2012 02:02 PM
@djmac,
please send me the infos. Otherwise I can't help.
Best regards,
MHa
04-04-2012 02:03 PM
Sorry for the delay. Here is the info. Let me know if you need any thing else
04-10-2012 01:50 AM
@djmac,
please send me also your MAX device / task configuration. I don't have the info which device(s) you use and which type of task. Thanks.
Best regards,
MHa
04-10-2012 07:00 AM
Do you need more info than what is provided in the "max report" html file?