jerseydevil Posted March 18, 2005 Report Share Posted March 18, 2005 I have been trying to write LV 6.1 formula nodes and they keep breaking with a nonsense message about the wrong line and needing a left brace. Even simple ones like the attachment do this: Error on line 1 is marked by a '#' character: "if ( f <# 250 ) CHRL=20; else CHRL=2; P" First they work, then they don't work. I don't see any info here or at NI. Has any one else seen this? Download File:post-1810-1111114173.vi Quote Link to comment
didierj Posted March 18, 2005 Report Share Posted March 18, 2005 I have been trying to write LV 6.1 formula nodes and they keep breaking with a nonsense message about the wrong line and needing a left brace. Even simple ones like the attachment do this:Error on line 1 is marked by a '#' character: "if ( f <# 250 ) CHRL=20; else CHRL=2; P" First they work, then they don't work. I don't see any info here or at NI. Has any one else seen this? 4258[/snapback] Your problem lies there, that the formula node requires a single value instead of the array. When using LV6.1 I get a strange error report ("Left brace required"???), in LV7.1 the error reports the real problem. Didier Quote Link to comment
jerseydevil Posted March 18, 2005 Author Report Share Posted March 18, 2005 Your problem lies there, that the formula node requires a single value instead of the array. When using LV6.1 I get a strange error report ("Left brace required"???), in LV7.1 the error reports the real problem.Didier 4260[/snapback] I still seem to be missing some point. Where is the array in that formila node? Quote Link to comment
didierj Posted March 18, 2005 Report Share Posted March 18, 2005 I still seem to be missing some point. Where is the array in that formila node? 4262[/snapback] In your example you build an array of 1000 elements which you wire to the input (f) of the formula node. Quote Link to comment
jerseydevil Posted March 18, 2005 Author Report Share Posted March 18, 2005 In your example you build an array of 1000 elements which you wire to the input (f) of the formula node. 4264[/snapback] Well, thank you for pointing that out. I can see it should be obvious. I've got to stop that late night programming, or maybe the company should be hiring younger engineers. :headbang: I think this should conclude this lame post thread, unfortunately I'm not sure how to perform such a feat. Any last minute tips for me? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.