0

Can I have one piece of software that I can configure to use one of two different sets of control messages?

Dave Hitchman 3 weeks ago in IQANdesign updated by Gustav Widén (System support) 2 weeks ago 1

So in this scenario we have system A and system B, they are identical apart from component X which comes in variants I and II, I want therefore 1 software with a parameter I can set to say whether X is I or II. Now I and II use the same messages for some things but different messages for others, when using variant I then sending the messages used by II might be a problem, and vice versa so I really want to be able to switch whole messages on or off depending on the variant - perhaps to set the transmission method to on trigger and not trigger it and to switch the method for the ones I want to continuous with the right rate. I cant see how this is achieved in 'code', is it even possible?

You could put the messages that differ in two separate function groups. 

That gives you two ways of handling it. 

The easiest approach is to enable/disable the function groups, either directly via DP channels or via another channel like a state parameter that sets the value of IDCs. 

The benefit of this approach is that it is just a settings change, you have the same .idax file for both. 


An alternative is to make project variants, separate .idax files generated from a superset .idvx file. This approach is good if the variants take up a lot of memory, or if there is anything in the variants that makes it impossible to combine in the same project file. 

From what you describe, it seems as if the first approach with parameters may be the best here.