Problem with FtTxService (2012-04-20)

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
Gaby_64
Beiträge: 5
Registriert: 04 Feb 2012, 05:02

Problem with FtTxService (2012-04-20)

Beitrag von Gaby_64 » 25 Apr 2012, 19:54

In trying to run just the hardware im getting an error:
Error: Unhandled exception in Start causality context for service:dssp.tcp://127.0.0.1:50001/ftdrivedifferentialtwowheel/2b708142-c0f4-4c81-a00a-810e694ea79d
System.NullReferenceException: Object reference not set to an instance of an object.


FtTxConnect#ConnectMasterHandler StartTransferArea error:[3758101168] = Timeout by starting TransferArea
FtTxConnect#ConnectMasterHandler StartTransferArea [8B8]
FtTxConnect#ConnectMasterHandler:ConnectBtByName error:
Timeout by starting TransferArea
Says Local, Bt connected on the ROBO TX-529.

vleeuwen
Beiträge: 1569
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Problem with FtTxService (2012-04-20)

Beitrag von vleeuwen » 26 Apr 2012, 12:30

Hi,
I removed all the FtTx related files from the MS-RDS 4 \bin directory, installed the package (download from the internet) and I tried to start up a VPL application which is using the FtTxService.
The application started normaly without a problem.
I was not able to reproduce your problem.

-) You are using MS-RDS 4 and not the 4 beta 2.
-) Did you install the package into the MS-RDS 4?
-) Did you update the Firmware on the TX-Controller to version 1.30?
-) Are you able to startup RoboPRo and connect to this TX-C?
(Activate the Test (interface) icon.

Send me a zip of your VPL project by e-mail.

Gaby_64
Beiträge: 5
Registriert: 04 Feb 2012, 05:02

Re: Problem with FtTxService (2012-04-20)

Beitrag von Gaby_64 » 26 Apr 2012, 19:59

Everything is working now, we where using an older version of robopro along with version 1.18 of the tx controller firmware.

vleeuwen
Beiträge: 1569
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Problem with FtTxService (2012-04-20)

Beitrag von vleeuwen » 26 Apr 2012, 21:10

Thanks for your feedback

Gaby_64
Beiträge: 5
Registriert: 04 Feb 2012, 05:02

Re: Problem with FtTxService (2012-04-20)

Beitrag von Gaby_64 » 27 Apr 2012, 20:39

is there a simulation equivalent to the hardware FtTxMaster GetSensors->SensorsUni
otherwise i would have to maintain a list of the sensors with the updated values to use them in if statements
Binary Sensor Change only gives the value of the changed sensor, not the state of all the sensors

vleeuwen
Beiträge: 1569
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Problem with FtTxService (2012-04-20)

Beitrag von vleeuwen » 28 Apr 2012, 11:28

Yes the more general Get operation.
The Get will give the complete state.
You need to filter the "Sensors.UniSensors.I1.Pressed"

See the "color_ sensor_I5" example in Test(cvl 2012-06)

Gaby_64
Beiträge: 5
Registriert: 04 Feb 2012, 05:02

Re: Problem with FtTxService (2012-04-20)

Beitrag von Gaby_64 » 29 Apr 2012, 18:16

thank you

I have new problems now, i have a motor and trail sensor functionality in the simulation but the robot doesnt seem to do as the program says, i cant get it to follow the line, placing it on the line it just charges forward and doesnt change motor power as a sensor off the line condition should trigger.

Here is the vpl files: http://www.4shared.com/rar/Gm0N6C45/Lin ... -SIMU.html
I dont know if this might be due to low fps, on this laptop i get 15fps and another one i tried i get 35fps and it doesnt seem to respond more.

vleeuwen
Beiträge: 1569
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Problem with FtTxService (2012-04-20)

Beitrag von vleeuwen » 29 Apr 2012, 23:32

To which example are you referening?
I just run example Test(cvl 2012-06) without any problem.
The signal lights at the front of the FtBot indicates on/off line.

<<MS RDS 4 root>> \SimulatedFxTxSolution\SimulatedFxTx\VPL\Test(cvl 2012-06)\*.*
By my knowledge all the examples are working fine.

The trailsensor service knows also an enable state (strat). Did you enable it?
Did you set the initial settings of the trailsensor activity and is it connected to the right inputs?
See http://web.inter.nl.net/users/Ussel-Int ... 011_06.htm
See the axample Test(cvl 2012-06).

The trailsensor monitor window shows the transition.

I am only able to handle *.zip compressed files.
Send me your VLP project by e-mail: ft.info@inter.nl.net

Gaby_64
Beiträge: 5
Registriert: 04 Feb 2012, 05:02

Re: Problem with FtTxService (2012-04-20)

Beitrag von Gaby_64 » 30 Apr 2012, 03:06

The FtTxServices were set to expire today?
Im getting this warning and its no longer connecting:
The FtUnit version is not valid anaymore and is not created :4/29/2012

vleeuwen
Beiträge: 1569
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Problem with FtTxService (2012-04-20)

Beitrag von vleeuwen » 30 Apr 2012, 10:06

I took a look into you VPL program.
You need to use the configuration option in the property window of the trailsensor activity "Set initial configuration"
The use of this "Set initial configuration" is very common in VPL.
You also need to enable the trailsensor activity otherwise it does not produce "transition" notifications.

See the online help:
http://web.inter.nl.net/users/Ussel-Int ... 011_06.htm

vleeuwen
Beiträge: 1569
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: Problem with FtTxService (2012-04-20)

Beitrag von vleeuwen » 30 Apr 2012, 10:17

You are using an older version.
The actuale version is valid until 2012-05-10.
Suggestion: Download the package and run it.

Antworten