04-16-2015 05:51 PM
Hello,
I am using a formula node to determine where an input lies in a range of values (-32768 to 32767) and then outputing a variety of variables to a case structure for the proper action to be taken. I however am having trouble dialing down the syntax of my formula node. Could somebody please help me determine where my error is in this node.
Thank you in advance!
Chris
04-16-2015 06:25 PM
I would just use a normal case structure with the nSteps wired to the case selector. You can then make a case for each range. Your ranges would be "-32768..32767", "32768..", and "..-32769". You can then do whatever math you need to inside of the case structure.
04-16-2015 06:26 PM
Please attach the actual VI. We cannot debug images.
04-16-2015 06:32 PM
The VI is attached. Ignore the unconnected terminals. How do I wire a DBL to the case structure and create ranges for the case structure. Do I simply type in the case indicator box the ranges in correct syntax?
04-16-2015 06:37 PM
Scratch my last reply. I have figured out how to input ranges into a case structure. Thank you for your help!
Chris