Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Mark

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,323

    LIFA has been deprecated. Sam's current...

    LIFA has been deprecated. Sam's current development is happening on LINX. That's mostly what I've contributed to. See the home web page here.
    ...
  2. Replies
    6
    Views
    1,767

    Here's an Eagle 7 library with the Teensy 3.0 and...

    Here's an Eagle 7 library with the Teensy 3.0 and 3.1 in it. I haven't had the need to make one for the others. Feel free to add them. :)

    Mark
  3. Replies
    6
    Views
    5,035

    Just an FYI, LINX 1.2alpha is available. If you...

    Just an FYI, LINX 1.2alpha is available. If you use it for production you're crazy, but so far it looks like it's working. It's not 'user resistant', but it's alpha, duh. I'm playing with it, so...
  4. Replies
    6
    Views
    5,035

    The reason I2C Close.vi wasn't working right is...

    The reason I2C Close.vi wasn't working right is timing. It's like for the blink example earlier. Driver doesn't unload quickly - at all. :( Otherwise, 3.1 is working just fine. I'm working on my...
  5. Replies
    6
    Views
    5,035

    Teensy 3.1 I2C works on LINX!! Mostly... The...

    Teensy 3.1 I2C works on LINX!! Mostly... The I2C Close.vi isn't working right. I haven't taken a look at it yet. I suspect <cringe> a timing problem since it worked once with execution...
  6. Replies
    6
    Views
    5,035

    I don't have a Teensy 2.0++, so I really can't...

    I don't have a Teensy 2.0++, so I really can't debug it if it's not working. I've sent the revised firmware up to the LINX git, so hopefully it's included. If not, I've made note of the changes I...
  7. Hi Paul, I'll take a crack at it. I mean,...

    Hi Paul,

    I'll take a crack at it. I mean, what's the worst that could happen other than it's still no-worky? :)

    Was there something fundamental which kept it from working on Windoze other...
  8. Replies
    10
    Views
    7,621

    I'll try to answer what happened in LabVIEW. It...

    I'll try to answer what happened in LabVIEW. It happened using LIFA and LINX. It didn't have a problem with an Arduino UNO nor Teensy 2.0, but did with a Teensy 3.x.

    Instead of rehashing the...
  9. Replies
    6
    Views
    5,035

    Teensy on LabVIEW with LINX Project

    I think we've reached a milestone. We can talk to a Teensy through LabVIEW + LINX! I opened a serial port to a Teensy 3.1, read the device name from the installed LINX firmware, then closed the...
  10. Yep. I jumped from LIFA (ni.com/arduino) to LINX...

    Yep. I jumped from LIFA (ni.com/arduino) to LINX (labviewhacker.com).

    I've gotten Teensy's to compile the firmware ok, and they seem to communicate ok, but I need to get a little smarter in...
  11. Replies
    4
    Views
    2,000

    Don't know why it makes a difference for Teensy...

    Don't know why it makes a difference for Teensy 3, and not Teensy 2, but correcting <?> a declaration in LabVIEWInterface.ino:

    unsigned char checksum;

    to

    unsigned char checksum = 0;

    seems...
  12. Replies
    4
    Views
    2,000

    Been busy with other stuff... Back now for...

    Been busy with other stuff... Back now for awhile (hopefully).

    Running 2 USB-RS232 adapters and a null modem cable, I'm able to confirm the data is getting through to the serial port ok. The...
  13. Replies
    4
    Views
    2,000

    I'll poke around a bit on the hardware side, just...

    I'll poke around a bit on the hardware side, just to see what's getting thru. I'll try your 'softer' suggestions too.
  14. Replies
    4
    Views
    2,000

    Teensy 3.1 Serial Sync?

    Again, for 2.0 this works fine. Sending the sync string (~FF0000000000000) doesn't get a response back of 'sync'. I'm thinking the LIFA and LabVIEW code is ok, but I'm at a loss where to proceed...
  15. Replies
    46
    Views
    19,460

    Reported it twice I think. I don't expect...

    Reported it twice I think. I don't expect they'll listen to me either ;)

    For what I'm seeing in LIFA now I'll try to build a test case again to isolate it.
  16. Replies
    46
    Views
    19,460

    'duff' got it right when suggesting moving the...

    'duff' got it right when suggesting moving the serial open and close vi's out of the loop would fix it. No problems after thast. I musta been making it bonkers opening and closing the port that...
  17. Replies
    46
    Views
    19,460

    Looks really good. Ran the vi with minimal...

    Looks really good. Ran the vi with minimal delays for a couple thousand runs. No errors. No BSoDs. Ship it! :)

    Last rev to the vi attached. All old ones removed.
  18. Replies
    46
    Views
    19,460

    Fair enough. I'll make the change and run it...

    Fair enough. I'll make the change and run it over lunch. I think that tracks with the error too , "failed to open usbser.sys". I'll see if I can just replace the file above with the mod'd one. ...
  19. Replies
    46
    Views
    19,460

    I can't get it to 'reliably crash', so for now...

    I can't get it to 'reliably crash', so for now I'm going to guess it's a Windows system thing and drive on unless you want me to check something else.

    Here's the 'Torture Test' vi in case...
  20. Replies
    46
    Views
    19,460

    I haven't exhaustively checked it, but just...

    I haven't exhaustively checked it, but just beating around different values for timings and the string, no problems. At least not after I put a delay in the loop. Before that, it appears LabView...
  21. Replies
    46
    Views
    19,460

    Looks good. Now I'll play with it to see how...

    Looks good. Now I'll play with it to see how robust it is - playing with the timings duff and I were kicking around.
  22. Replies
    46
    Views
    19,460

    Yea! Thanks a bunch for looking at it Paul.

    Yea! Thanks a bunch for looking at it Paul.
  23. Replies
    46
    Views
    19,460

    Ok, but turning on Execution Highlighting (Paul -...

    Ok, but turning on Execution Highlighting (Paul - the light bulb looking button in the block diagram's button bar) doesn't affect it. I set a breakpoint on the 'break write', let it sit a couple...
  24. Replies
    46
    Views
    19,460

    Just uploaded EcoString.ino to a Teensy 2.0,...

    Just uploaded EcoString.ino to a Teensy 2.0, changed to the correct serial port, got this result.

    1690

    1691
  25. Replies
    46
    Views
    19,460

    At the write with break. Again, this works ok...

    At the write with break. Again, this works ok with a Teensy 2.0. (that'll be the next post)

    Showing the probes:
    1688

    The values:
    1689
  26. Replies
    46
    Views
    19,460

    @duff: Interesting. I guess that's not the first...

    @duff: Interesting. I guess that's not the first time Mac and PC don't act the same :)

    @Paul: If it's not giving you an error, the demo install probably already installed NI-VISA by default. To...
  27. Replies
    46
    Views
    19,460

    @Paul: Wow! Too much work! To think I was...

    @Paul: Wow! Too much work! To think I was appalled at the 217MB installer I generated. It didn't work first try, natch.

    You'll of course need the Teensy drivers installed, and load the...
  28. Replies
    46
    Views
    19,460

    LV invasive? It's amazing how bloat-y it feels...

    LV invasive? It's amazing how bloat-y it feels that way, isn't it?

    I'd forgotten about the installer option. I just upgraded to Developer so it's supposed to be in there. I gotta learn it...
  29. Replies
    46
    Views
    19,460

    Yes, yes and no. I can turn the break off, and...

    Yes, yes and no. I can turn the break off, and the echostring.ino returns the written string just fine.
  30. Replies
    46
    Views
    19,460

    The Serial Break is actually a VISA function (vi)...

    The Serial Break is actually a VISA function (vi) used in LIFA. I dug down into that and found where it broke. To simplify it, I wrote a sample vi to test it.

    1673

    Digging down into the VISA...
  31. Replies
    46
    Views
    19,460

    The LIFA LabVIEW libraries use a Serial Break...

    The LIFA LabVIEW libraries use a Serial Break during the initialization. Why? Dunno. That's just where I found it breaks.

    On some test equipment, I believe it's the equivalent of...
  32. Replies
    46
    Views
    19,460

    Paul, thanks up front! I can send you the vi,...

    Paul, thanks up front!

    I can send you the vi, which works for an Uno & 2.0, but breaks for a 3.1. Same for the simple firmware, which works for all. Let me know if you want me to post them here,...
  33. Replies
    46
    Views
    19,460

    Arduino Uno and Teensy 2.0 work ok with a break...

    Arduino Uno and Teensy 2.0 work ok with a break sent to their 'serial port'. Teensy 3.0 doesn't appear to - at least the way LabVIEW implements it.

    Is this a known Teensy 3.1 limitation?
  34. Replies
    46
    Views
    19,460

    Teensy 3.1 Serial Break?

    Still working on LIFA, but found a question of a more general nature.

    When LabVIEW sends a break terminated string to the Teeny 3.1's serial port, I get an I/O error. Without the break, or on...
  35. Replies
    15
    Views
    7,398

    Took some time off from it. All the code was...

    Took some time off from it. All the code was starting to look the same :(

    @mknix: Last I'd looked, Teensyduino libs are verified working with 2.0 & LIFA. Not yet with LYNX. That's why I'm...
  36. Replies
    15
    Views
    7,398

    This isn't XDA , but they're right...

    This isn't XDA <thankfully>, but they're right about one thing. If you wait for someone else to learn it and do it for you, you might be waiting a long time.

    Seems to me LIFA is way closer to...
  37. Replies
    15
    Views
    7,398

    Main sticking point looks like it's the same as...

    Main sticking point looks like it's the same as for LIFA. Getting LV to recognize the 3.x board properly. I can get the firmware compiled, but the VISA clear is choking on something. Also getting...
  38. Replies
    5
    Views
    2,572

    Was able to connect with the COM port using...

    Was able to connect with the COM port using PUTTY, but didn't get any reply/echo. Maybe because I don't know what to send the LIFA firmware, or the firmware opens the port but isn't working...
  39. Replies
    5
    Views
    2,572

    Played with it a bit more now. The error in LV...

    Played with it a bit more now. The error in LV is happening when the COM port is first being opened. Looks like the baud rate, etc, are all properly getting to the vi. This does not happen with...
  40. Replies
    14
    Views
    11,556

    I was gonna write a quickie how to, but there's...

    I was gonna write a quickie how to, but there's stuff already out there.

    A short explanation and a calculator.
    http://www.daycounter.com/Calculators/LED-Tutorial-Calculator.phtml

    A more...
  41. Replies
    26
    Views
    14,598

    Dunno. I'm running LabVIEW Full / Developer (but...

    Dunno. I'm running LabVIEW Full / Developer (but probably not well yet).

    Don't worry about it. Looks like it's a LabVIEW / LIFA thing, so it's not your onion to peel. ;) I have more software...
  42. Replies
    26
    Views
    14,598

    Looks like it is something related to...

    <edit> Looks like it is something related to LabView / LIFA. Doesn't happen unless I load LabView. Sorry - different onion to peel...

    <I'd strikethrough all this - but don't see it in the font...
  43. Replies
    26
    Views
    14,598

    I'll have to play with it more, but the serial...

    I'll have to play with it more, but the serial driver seems to hang more easily with rc4. I mean when loading onto the 3.1, I can't select the port using Arduino IDE until after rebooting. The IDE...
  44. Replies
    5
    Views
    2,572

    blink.vi 1439 Text in the lower block was...

    blink.vi

    1439

    Text in the lower block was greatly copied from somewhere. (teensyduino pin definition file?)
  45. Replies
    5
    Views
    2,572

    AFMotor.h - modded // Adafruit Motor...

    AFMotor.h - modded



    // Adafruit Motor shield library
    // copyright Adafruit Industries LLC, 2009
    // this code is public domain, enjoy!

    #ifndef _AFMotor_h_
    #define _AFMotor_h_
  46. Replies
    5
    Views
    2,572

    Took inspiration from the latest AFMotor from...

    Took inspiration from the latest AFMotor from Adafruit and modded the AFMotor.h file to check for the arm processor. It Compiles! Of course, I haven't been able to get it working on 3.1 - yet.
    ...
  47. Replies
    5
    Views
    2,572

    Teensy 3.x with LabVIEW & teensyduino & LIFA

    Got 2.0 working on my setup. Started messing with 3.1 in the same thread, but couldn't figure to rename the thread. (if someone tells how I'll delete this one - if possible)

    Starting at here in...
  48. Replies
    10
    Views
    4,039

    Not seeing the BSOD on Win7-64Pro. I've been...

    Not seeing the BSOD on Win7-64Pro. I've been pulling software on and off while working to get LIFA to work with 2.0 and 3.1, and swapping between boards. Just swapped between an Uno, 2.0 and 3.1...
  49. Replies
    5
    Views
    7,053

    Being a newb, figured I'd ask. Thanks for the...

    Being a newb, figured I'd ask. Thanks for the explanation.
  50. Replies
    5
    Views
    7,053

    Typo in Teensyduino 1.18rc3? ...

    Typo in Teensyduino 1.18rc3?

    arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mcpu=cortex-m4 -DF_CPU=96000000 -MMD -DUSB_VID=null -DUSB_PID=null...
Results 1 to 50 of 57
Page 1 of 2 1 2