Crimson 3.0 SetNetConfig

YujinT

Member
Join Date
Sep 2011
Location
In a box
Posts
4
I'm trying to write a program that ties in with the GUI to allow users to change the network configuration of the Red Lion device on site.

The problem I'm having is that for some reason, Crimson 3.0 doesn't recognise the function SetNetConfig(port, addr, mask, gate) even though it is listed in the reference manual.

I know SetNetConfig works in Crimson 2.0, but we're migrating all our databases to Crimson 3.0 so I'd like to get it working in Crimson 3.0 as well.
 
Sorry for the confusion with the manual but SetNetConfig is not a valid command in C3. It is no longer required because now you can simply drop a tag into the IP address box and set the format of the tag for IP address.

Thanks
Jeremy
 
Thanks for the reply. sorry for replying so late.

Do I need still need to do a CommitAndReset() after the user has changed the network IP/Gateway/Mask?
If I do a GetNetIP(0) before the CommitAndReset(), will I get the old IP or new IP?

Also, if the tags' storage is set to Non-Retentive, does that mean that every time the unit it reset the network settings will be lost?

If the network IP/Gateway/Mask are set to tags, will I have to re-set those tag values every time I send a database/program update via TCP/IP?
 
Last edited:
Yes you will need to do a CommitandReset() for the change to occur. The tag needs to be set to retentive for this to be useful.

Thanks
Jeremy
 

Similar Topics

Gday, I am programming a Redlion G306 and am using the latest build of Crimson 3.0 (222) and have hit a bit of an issue with SetNetConfig(). I...
Replies
1
Views
4,271
Hey guys, hoping someone here could give me a little advice. I'm working with a CR1000-04000 in Crimson 3.1 and I was interested in adding the...
Replies
4
Views
91
Hi, I'm having an issue in crimson 3.0 when I create a programme using a case statement referencing a fault word that each bit needs to change the...
Replies
1
Views
79
How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
102
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
87
Back
Top Bottom