LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Property node vs individual boxes

Setting the values of different parameters in a PXIe-4141 (SMU) can be done with individual VIs (as in the first attachment, close to the example VI to set voltage) or with a Property node (as in the second attachment). Question is: is there any difference? why should I choose one method or the other?

Thanks in advance.

0 Kudos
Message 1 of 7
(500 Views)

Hi jano,

 

Your version (LV2024) is too recent for most of the people who usually respond on the forum, please save both VIs for a previous version (e.g. 2021). On your VIs, click menu File > Save for Previous Version... > 21.0.

 

Regards,

Raphaël.

0 Kudos
Message 2 of 7
(485 Views)

MIne is 2020 please save for 2020. 

0 Kudos
Message 3 of 7
(470 Views)

Here I re-attaching the files in 2020 format.

0 Kudos
Message 4 of 7
(451 Views)

I don't have niDCPower driver installed, so I cannot see what's inside the subVIs, but I guess they are just wrappers for the aforementioned property nodes.

 

The driver VIs are only here to simplify your work, so using them can be better for most cases because they are abstracting some complexities that you may not need to bother with.

 

The property nodes can still be used in case you need to perform more specific configurations.

 

Also, nothing prevents you from using both in your code.

 

Regards,

Raphaël.

Message 5 of 7
(396 Views)

jano2358@gmail.com wrote:

Setting the values of different parameters in a PXIe-4141 (SMU) can be done with individual VIs (as in the first attachment, close to the example VI to set voltage) or with a Property node (as in the second attachment). Question is: is there any difference? why should I choose one method or the other?

Thanks in advance.


 

I use them interchangeably for clean code and ease of reading; there could be very slight differences in performance, but nothing that would influence a decision.

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 6 of 7
(391 Views)

What others have said is accurate - the "Configure" VIs are essentially wrappers around the same calls the Property Nodes make. There are some subtleties (e.g. they call into different library entry points) but the effects should be identical.

 

For some other drivers some "Configure" VIs populate multiple properties/attributes with a single call. That can cause confusion and dependency ordering as a Configure call may unexpectedly overwrite a setting of a property node. NI-DMM Configure Multi Point is an example of this.

Tobias
Principal Software Engineer
Driver Software
National Instruments
Message 7 of 7
(381 Views)