JaneliaSciComp/NIDAQ.jl

cannot add aichannels past ai7

Closed this issue · 1 comments

When trying to add channels past ai7, i get this error:

julia> t = analog_input("Dev1/ai10")
ERROR: NIDAQmx: Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.

I believe this is caused by:

Ref(codeunits(channel),1)

I have tested changing this to simply pointer(channel) and pointer(""). Will do a pull request once I'm finished breaking, then fixing.

closed by 190fb1d