DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel changing

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

0 Kudos
Message 1 of 15
(6,963 Views)

@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

0 Kudos
Message 2 of 15
(6,960 Views)

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

 

0 Kudos
Message 3 of 15
(6,958 Views)

@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

0 Kudos
Message 4 of 15
(6,956 Views)

Installed all updates and still have the same issue.  

 

Thanks

0 Kudos
Message 5 of 15
(6,945 Views)

@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

0 Kudos
Message 6 of 15
(6,940 Views)

@djmac,

please send me the infos. Otherwise I can't help.

Best regards,

MHa

0 Kudos
Message 7 of 15
(6,923 Views)

Sorry for the delay.  Here is the info.  Let me know if you need any thing else

0 Kudos
Message 8 of 15
(6,904 Views)

@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

0 Kudos
Message 9 of 15
(6,888 Views)

Do you need more info than what is provided in the "max report" html file? 

0 Kudos
Message 10 of 15
(6,886 Views)