LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"physical channel" property in DAQ task cannot be updated.

 
 

I have typed in the channel wrongly with an invalid string on the property panel on the DAQ task virtual channel, despite trying to change it countless times, refresh and restart, it will always be automatically swapped back to the invalid string and the code could not run. Help. 

 

0 Kudos
Message 1 of 6
(433 Views)

Hi aby,

 

type it correctly and save your changes!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(429 Views)

hi,

 

I have tried to save it just as the code as a whole but it doesn't seem like it gets saved, I have also tried to go into the editing mode and save to file, but it says I am not allowed to save files containing llb, which I have already unchecked the read only box for those files in my file directory. May I ask what is the right way to save it properly? 

 

Best Regards, 

Abby 

0 Kudos
Message 3 of 6
(414 Views)

Hi Abby,

 


@abbyyyy wrote:

I have tried to save it just as the code as a whole but it doesn't seem like it gets saved

It's your code so you should know how to save your code.

Unfortunately you failed in attaching your code so we cannot give specific suggestions on how to improve your code!

 

When attaching code: many user don't use the very latest LabVIEW versions, so downconvert if needed (File->Save for previous). I prefer LV2019.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(404 Views)

Hi, 

 

I am restricted by security reasons to share the entire code online. Also, the error and the ports would not show up if it is not connected to the physical hardware, an NIDAQ. Having said that, I admit the descriptions were a bit vague and I will try to provice some screenshots. Image (9) is the property panel I am talking about. I previosly defined the channel using invalid syntax (ai0:a3 instead of ai0:3), and have not been able to change it nor save the changes. (I have already disabled read only)  Image (10) shows the error when saving it. When I try to run the code, it will always gives an error saying that I have entered the invalid string I have accidentally entered before changing it.(ai0:a3)  Previously, for the minimum and maximum values on the same property panel, I was able to just change it and it ran perfectly with the changes, without specifically saving the "channel property". 

 

Thank you so much in advance, 

Abby 

 

 

Download All
0 Kudos
Message 5 of 6
(378 Views)

Hi abby,

 


@abbyyyy wrote:

I previosly defined the channel using invalid syntax (ai0:a3 instead of ai0:3), and have not been able to change it nor save the changes. (I have already disabled read only)  Image (10) shows the error when saving it.


It seems you try to modify&save a VI within the LabVIEW vi.lib folder, which is a BIG NO-GO!

 

That VI typically is called from your own VI and you need to provide the correct parameters within your own VI. (You don't open the frontpanel of the VI shown in the image to call it standalone...)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(369 Views)