Posts made by reghend79
Layer number always Null
Using DWC 3.3.0 and PrusaSlicer 2.3.0
The total amount of layers displays correctly on the Status tab, but the current layer is always zero. I checked the object model and both job.layer and job.timesLeft.layer is 0 or null. Also, the layer time graph isn't displaying anything. Is this a problem with the newest release of DWC or maybe it's not reading the current layer from the PrusaSlicer gcode?
I'd appreciate any help!
Connecting nanoVNA to Duet2Wifi through USB
I am attempting to connect a nanoVNA-F V2 to my Duet 2 Wifi so I can control the VNA directly through the DWC (would eventually like to take frequency readings during prints). It receives ASCII commands through USB (5V/1A), and I have successfully sent commands through the command line, PuTTy, Matlab, etc.
I tried connecting the VNA to the main serial interface on my Duet and sending these commands on DWC to change the sweep range:
M575 P0 S2 (also tried S0, S1, and S3)
M118 P1 S"sweep 1000000 2000000 101"
The sweep range is displayed on the VNA's LCD screen, and nothing happens when I send this. I also don't receive any data when sending other commands.
Is this a problem with the connection to the main serial interface, or is there a problem with my code? I've also thought of connecting the VNA to the PanelDue port instead, but I'd need to level shift it.
I'm running RepRap 3.3beta2 and DWC 3.2.2. I'd appreciate any help or insight!
RE: Feedback wanted: conditional GCode without indentation
I think both keyword-delimiting and indentation-delimiting should be permitted in the same file to allow for flexibility and varying degrees of clarity. I'm working on analyzing print data in Matlab to create feedback control, and I am quite fond of using both indentations and "end" statements at the same time. The indentations are not normally required in Matlab, but they're done automatically to help visualize the blocks.