Escient Fireball module
Denis
Posts: 163
Hi
I'm trying to insert fireball module ( original module from escient web site) in my program but it's not work. I tried demo itself and it work very nice. When I compile my program, I don't get error messages, the files tranfert work well, but when I use my touch panel, the led input on master lit but not the led output. I build my code similarely to demo code but I get no succes.
Somebody have an idea ?
I'm trying to insert fireball module ( original module from escient web site) in my program but it's not work. I tried demo itself and it work very nice. When I compile my program, I don't get error messages, the files tranfert work well, but when I use my touch panel, the led input on master lit but not the led output. I build my code similarely to demo code but I get no succes.
Somebody have an idea ?
0
Comments
You might also try taking a break from the code. Work on something else for a little while, then come back to the code and look at it again. I occasionally find that my fingers weren't listening to my brain properly the first time through and my brain just assumes that my fingers followed the orders properly.
<TANGENT> For example, today I was updating a touchpanel that handles some security monitoring for a client and when I originally created the touchpanel files, I had entered the prompt as: "Are you sure you want to active the security lighting?". Well, even the first time I read through this today, my brain was still interpreting active as activate. It wasn't until I was showing the client a change that involved the prompt that my brain recognized active as active, not activate Well, now that I have wasted 10 seconds of your life you will never get back, I'll end my pointless story. </TANGENT>
Jeff
Tanks there is a part of my code
//////////////////////////////////Demo code/////////////////////////////////
Secondly, I would change the address of the dvFB1_RS232 to a virtual device since you appear to be using IP communication.
I am not positive and have no way to test it (but I think I read it in the forums), but my guess is the COMBINE_DEVICES line is causing your problems because as I recall, only the first device in the combined set generates events.
Hope this helps,
Jeff
P.S.
Enclose code in [ c o d e ] and [ / c o d e ] (without spaces) to get:
I used the combine devices, because I believed as it was the solution to rename a device, I did not know if I can to assigne a virtual address directly to a true device.
***********
I removed "combine devices, I renamed FB1_RS232 to a virtual device and I get the same problem.
Earlier to night, I changed ( in the demo) the name, just the name of dvTP1 for dVTP_NAV, as my real program, and my demo as never wors after, either dvTP1 or dvTP1_NAV
Other than that, I can't think of anything else that would cause problems. If you do figure it out, please post your findings because I'd be interested in knowing what I missed.
TKN
The most likely thing is that the IP connection is not being established and maintained. First, make sure the Fireball has a static IP. Second, open up a telnet session to the master, turn "msg on," and be sure there is data going back and forth. Fireballs are very chatty when active, hit the play button and you should see a steady steam of stuff in your telnet session. You are using FIRST_LOCAL_PORT in that code as well - be sure no other device or module is using it too.
I will try telnet communicationtonight and I will give a static adress.
Concerning the local port, if my understanding is well, it is the internal port com of client machine, ( fireball ) and presently I have no other connections on it, except ip connection
Hi
I fixed the ip adress for Fireball and did some test in telnet mode.
In telnet mode, I can ping ip address of Fireball,
If I use the remote (IR) control dirctely on fireball, in telnet I'm monitoring all info from fireball.
If I press play or other on my touch panel with my program, there is no command sent to fireball, and no feedback from fireball but if I use the demo itself, I see all feedback from fireball
If I ask for tcp list, I get only ip for my touch panel, not for fireball
If I ask for show device, there is no pysical adress for device 33001:1:01 ( fireball)
When I ask for program info, all files seem present
If I ask get ip 33001:1:0 I get a Get ip time out
On my NI unit, the red led ( output) don't lit when I press any button on touch panel with my program
I found my problem!
First, I changed local port 1 for local port 3 and the module works fine with every TP names.
2cond, In the TP demo, there is a main page with 3 buttons (with out link to other page) to select wich type of fireball we have, and if we do not include this page in our set up we have to modify code or include a button with channel indicated for this command
I hate that initial button thing about the Escient modules too. I always force it with a DO_PUSH when the device is selected. I also dislike the way they force page flips in code that I don't necessarily want flipped. But beyond that, their module is more robust than the AMX one.
So where is the Duet version?
I just did this and it drove me nuts for like 2 days.
Later
I put a do_push command and It works fine tanks.... Unfortunately I don't tried to re-initialise it..next time.
I'm just terminated my first paying system and I'm proud of it.
Lightning system, audio multi-rooms system, home theater and shade controls, controled by over 4000 lines of code and fireball module! Two CV7 touch panel and a MVP8400 I'm not sure as it's the best one but all work very nice.
Big job for a beginer!