07-27-2019 03:25 PM
I'm trying to use the Custom Scale feature of DAQmx to implement scaling on an analog input task, but I'm receiving the following error:
Error -50256 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi:1780002
Possible reason(s):
The specified feature has not been implemented for this environment. The operation could not be completed as specified.
Task Name: test
This is occuring on a Windows 10 machine running LabVIEW 2018 and DAQmx 19.1. It only occurs when I try to use the DAQmx Create Scale vi- if I set a scale up in MAX and use that instead, it seems to run fine.
07-31-2019 02:36 PM
Hi PatW,
Can you post your code or a screenshot? That will make it easier to provide specific recommendations.
Best,
08-05-2019 09:11 AM
Figured out the issue. I was trying to type cast the channel name to a string, then append "_scale" to it. When I just used a generic string for the name instead, i no longer received the error. It would appear that type casting the DAQmx channel name to a string is not supported.