From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-03-2008 03:00 AM
04-03-2008 07:02 AM
How is the bit information represented? An integer such as 0-113? If this is the case you could create an array of FPGA I/O constants and use the bit information to index the array to the I/O you wish to write to.
04-06-2008 06:59 PM
01-13-2012 07:39 AM
Even Assigning all FPGA I/O's in array and accessing via array index is not working.Same error is prompted.
Any solution?
01-16-2012 11:00 AM
Hi Abhi_shek,
Can you post more details about the error you are seeing? Would it be possible to post a screenshot?
Tim W.
Applications Engineering
National Instruments
01-16-2012 05:33 PM
I suppose this is something like that:
The broken VI is due to the fact that "Refnums must be constant references in the current target. This construct could potentially cause a reference to be dynamic". I am not sure how nebelkov eventually solved his problem, but I don't quite see a way around editing individual cases of a case structure, with an individual write node in each case:
It could be annoying to create 114 cases and edit each one, but it would still be faster than compilation in any case!
My 2 cts.
01-16-2012 11:36 PM
You can also bundle several IOs together by using ports instead of single IOs:
With the output enable you specify whether you read or write and then you can set any data.
You might also bundle several ports together to larger (U16 or U32 ...) constants / controls.
Regards, Ben
12-08-2022 03:54 AM - edited 12-08-2022 03:59 AM
Definitely zombie thread resurrecting, but for the good of those who may fall on this post while searching for how to do what the title says, which I had to.
@X. wrote:
I don't quite see a way around editing individual cases of a case structure, with an individual write node in each case:
It could be annoying to create 114 cases and edit each one, but it would still be faster than compilation in any case!
My 2 cts.
I did put together a scripting way of creating case selectors for FPGA i/o Xnodes. Here on github. Enjoy...