12-10-2018 06:27 PM
Hi,
It might be trivial question, but I have search the forum, manuals etc and I couldn't find an answer so far. I generate signal using 'Digital pattern' setting. According to the manual for NI 6534, I can select between a width of 8, 16 or 32 bits. At the moment, the default value is 8-bit for the way that I select physical channels. How can I change it to 32-bit? Can I do this programmatically? Or do I need to select channels somehow differently? Initially I thought that I might be able to access it via property node, but I tried it (as you can see...) with no luck. Here is the code:
and a simple drop down control which I use to select channels:
Cheers!
12-11-2018 10:28 AM
Hi!
Have you been able to have any success with this non-programmatically (hard coding it in?)
Best,
JFP
12-11-2018 06:42 PM
Well, when I tried hard coding the result was a bit confusing, as shown on the attached picture:
12-12-2018 11:15 AM
In order to use 32-bit data transfer, you have to use all 8 lines on all 4 ports (8x4=32). By specifying port0_32/line0:7, you're telling LabVIEW conflicting things - that you want 32-bit transfer, but only on 8 lines, which isn't possible.
You should be good to go using the code shown in the middle of your screenshot.
12-12-2018 01:38 PM
Thanks Lindsey, it makes sense! Just one more question - is it possible to set 32 different channels while using all 4 ports? (I have nearly 32 different peripherial devices to control).
Greetings!
12-13-2018 08:33 AM
When you say set 32 different channels, do you mean you're creating 32 separate tasks for different devices?
12-13-2018 10:57 AM
Sorry, I phrased my question unlcearly. I meant one task dedicated to one NI 6534 consisting of 32 different channels. I need to control almost 32 different drivers on the optical bench.
Cheers!
12-14-2018 09:47 AM
I believe so! You should be able to click "Browse" on the resource constant for your task and then select all the channels holding the Ctrl button.