LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logic entry for end user

Hello everyone...

 

We are developing a software in which we have to communicate with multipil instruments via 485 cable

We will be using modbus protocol

We are giving options to the  user to request all register at a time which are of same type ( Ex .Holding register once at time )

 

For suppose user request 5 Register , He must be able to write his own logic i.e what kind of arithmetic operations or or logic operations or boolean kind

of operations to perform on the requested registers for representing the output.

 

My question is how should i give logic entry for end user. I cant make it hard code because my software should communicate with unknow instrument also if it support a modbus protocol

 

Regards

PN RAJA

 

0 Kudos
Message 1 of 5
(3,284 Views)

If you're looking for Arithmatic operations, probably you can seek some inspiration from Formula Express VI.

Formula

 

Also you might want to explore Formula Parsing VIs.

Another useful link: Formula Parsing VIs in More Detail


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 5
(3,280 Views)

Thank you @moderator1983

 

I wish to give a Window in which user will enter the logic in text format i.e C language code . so now the question is how to compile this code in run time

0 Kudos
Message 3 of 5
(3,227 Views)

Dont create duplicate post. Stick with one and be patient

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 5
(3,221 Views)

The formula express VI is for use at edit time and will not help you here.

 

You seem to be looking to enter simple formulas at run time.

 

For this, all you needs is a string control and the formula parsing VIs. Look at the examples.

0 Kudos
Message 5 of 5
(3,216 Views)