Running config without 7i92

More
4 years 3 weeks ago #253693 by tommylight
Replied by tommylight on topic Running config without 7i92
Thinking of it, maybe the best way to go around this is simulating the hardware so loading any firmware would technicaly work.
Any Spartan 6 emulators out there?
:)
Or any game running on Spartan 6 as that would for sure mean someone somewhere did an emulator? No?
Oh well, lack of sleep is getting to me...

Please Log in or Create an account to join the conversation.

More
4 years 3 weeks ago #253699 by daiman444
Replied by daiman444 on topic Running config without 7i92
I tried to portray a dummy with a hostmot substitution, but I'm not a developer and it's extremely difficult and incomprehensible for me. perhaps it would be a great thing if in ini or hal there would be something like: mode = simulation / work with the board. and if there is a simulation, then the config was launched with any board. at the level of setting up a config or editing it remotely, this would be effective for debugging or developing a configuration. do you know about john the time killer serial programmer?

Please Log in or Create an account to join the conversation.

More
4 years 3 weeks ago - 4 years 3 weeks ago #253744 by eslavko
Replied by eslavko on topic Running config without 7i92

I tried to portray a dummy with a hostmot substitution, but I'm not a developer and it's extremely difficult and incomprehensible for me. perhaps it would be a great thing if in ini or hal there would be something like: mode = simulation / work with the board. and if there is a simulation, then the config was launched with any board. at the level of setting up a config or editing it remotely, this would be effective for debugging or developing a configuration. do you know about john the time killer serial programmer?
 

 I just thinking in similar approach.
in ini/hal files there are markers (comments) like:

;WORK
#net x-pos-fb               <=  hm2_7i92.0.encoder.00.position
#net x-vel-fb               <=  hm2_7i92.0.encoder.00.velocity
;

END of WORK
;SIM
net x-pos-fb               <=  mySimComponent.position
net x-vel-fb               <=  mySimComponent.velocity
;
END of SIM

Before linuxcnc is started the simple script is started which make comments in apropriate blocks. Maybe checking hostname to know if it's in real machine and set comments to ;SIM block or if hostname is not machine name then make comments to ;WORK block. 

And of course to make component in hal or userspace to simulate the machine itself (up to degree wanted)




 
Last edit: 4 years 3 weeks ago by eslavko. Reason: Lost formatting

Please Log in or Create an account to join the conversation.

Time to create page: 0.395 seconds
Powered by Kunena Forum