Jump to content

i2dx

Members
  • Posts

    683
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by i2dx

  1. QUOTE(ned @ Jul 5 2007, 04:29 PM)

    The error message you're seeing is accurate. The 9004 allows DMA transfers only from FPGA to RT, not the other direction. Host to Target DMA is a new feature of the 9012/9014 cRIO controllers and is not supported on the older controllers.

    thank you!

    <insert a bunch of heavy insults into the direction of NI here> ;)

  2. Hi Folks,

    I'm trying to implement a "Host to Target" (which means: RT to FPGA) DMA Transfer on a cRIO 9004 controler with a 3M-Gate chassis. The FPGA VI compiles without errors, but when I start my RT-VI I get the error -63001, which is explained as "DMA from host to FPGA target is not supported for this platform".

    Has anyone made similar experiences or (hopefully) has someone allready successfully implemented a Host to Target DMA on a cRIO 9004 controler?

    Thank you,

    CB

  3. QUOTE(Steve_Brooks @ Jan 18 2005, 05:33 PM)

    No. This is an ODBC-Error message and means: You tried to insert a number in the wrong format, e.g. your database definition says that field contains a floating point number and you tried to insert an integer. I'd check the database definition, whether that column is really defined as memo field.

    Do not forget to escape the string, you want to insert into a memo field: all tics >>'<< in your string have to be replaced by double-tics, Access also can not handle the 0x00 char under certain circumstances (which I don't know exacly, otherwise I had allready implemented that in my ADO-Toolkit)

    To answer the intial question: yes, I have inserted large strings into a memo field, I'm still doing that and I'm doing that again and again ;)

    QUOTE(xtaldaz @ Jun 14 2007, 10:38 PM)

    What I do in these situations is to change drivers to use the Jet driver. You'll have to use a UDL file to connect to the database rather than ODBC. This is how most of the shipping examples for the toolkit connect.

    If he uses the NI Database connectivity toolkit, me makes automatically usage of the Jet database engine. The Software "Microsoft Access" is only a frontent, where you can create/edit/etc your database. Each Windoze since Windows 2000 comes with the Jet Database Engine installed (it's not a driver, it's the database engine!) => you can automatically use *.mdb-files on each windows machine with an OS higher then Win2k. Besides: you can install the MDAC (Microsoft Data Access Components) on machines with an older OS to make usage of the Jet DBE

  4. QUOTE(orko @ Feb 16 2007, 02:13 AM)

    Hi all,

    I've been beating my head against this for hours...so it's time to ask for help. :headbang:

    I've created a run-time menu and saved it to disk for a numeric control with one selection item, let's say its named "foo" and is located in "menu1.rtm". I can then attach this menu to my numeric control and create an event structure handling the event: "foo: Shortcut Menu Selection (User)" to trap when someone selects this item from the menu. This works as desired.

    My problem is, how can I check/uncheck the selection in the menu as I can do using the "Set Menu Item Info" menu primitives for application menus?? I don't see where I can get the MenuRef of the user rtm from within my event structure... I can only get the control reference, Item tag, Item path, and something called a "SubObj" (not at all sure what this is).

    My goal is to perform one thing when the user "checks" the selection, and another when they "uncheck" it.

    Thanks for any pointers!

    I stumbled uppon allmost the same problem today: I need a reference to the runtime-shortcut menu of a control, to edit that menu programatically ...

    If I have not missed something, there is no way to get a reference through the *normal* property-nodes. You can get a reference to the menu, if you use an event structure and the "Shortcut Menu Activation?" event, but this only works if you catch the event for one, single control. If you bundle more then one "Shortcut Menu Activation?" event in one case, you'll get no reference to the menu at all.

    And here's where my problem starts: I've about 50 controls on my FP, and I need to catch at least 4 events on each control, two for Shortcut menu activation and Menu selection, the rest for drag and drop. If I can get the reference to the shortcut menu only if I create an event case for each control and it's sub-controls, in case that the control is a cluster, I'd end up with a huge event structure with lots of similar cases. I'm not very happy with this, so I'd be glad, if someone out there maybe knows a better way?

  5. QUOTE(Jim Kring @ Apr 7 2007, 05:21 PM)

    I didn't notice anyone mention this yet, so I figured that I would throw it out there:

    I believe that the While Loop, instead of the For Loop, was chosen for LV2-style globals, because the While Loop version required fewer editing steps to create.

    an other point is: the border of a while loop is easier to hit with the right mouse button, than the border of a for-loop => it's easier to create a shift register. Even if the *invisible size* of the border of the for loop equals the border-size of the while loop, I'm allways trying to hit that small line

    e.g. I mostly do not create shift registers in a for loop by hand, but drag the wires and chose "replace with shift registers" on the tunnels, which is more convenient

  6. I failed in the first exam.

    reason #1: lack of dokumentation

    reason #2: allmost no dokumentation

    reason #3: I should have read the tasks and objectives ;)

    reason #4: I tried to implement a queued state machine with event handling and ran out of time. The best way to solve the task is to use a simple state machine with an enum

    take yourself the time and add tip-strips and dokumentation to EACH control on the FP, add comments to every wire longer then 20 px on the BD, especially those who go into shift registers. Use the documentation field in the VI properties for the main VI and - if you have some, the sub VIs ...

    take yourself the time to read the tasks and objectives carefully!

    think twice before you use an local variable, there should be a way to avoid it. do not use property nodes, except there is no other way to do that, e.g. a blinking control ...

    After I learned my lesson, I passed the exam with 98%, I got 2 % discount, because missing labels on a BD constant => for (int i=0, i<100, i++) {printf("add documentation to everything!");}

    BTW: has anyone tips for the CLA? I have my first try it in June => I am sitting here and eat up my fingernais ;)

  7. QUOTE(Tomi Maila @ May 4 2007, 07:30 PM)

    Hehe, en oikein usko että tämä keskustelupalsta toimisi kovin hyvin jos kaikki käyttäisivät omaa kieltään. Toisaalta olisihan se kiva kirjoittaa suomeksi... ;)

    Tomi

    ja zefix, wenn'dst ma so kummst, dann red i nua no boarisch!

    (this was bavarian slang ;))

  8. QUOTE(crelf @ May 4 2007, 04:46 PM)

    We're probably hijacking the thread, but when I need to create a custom (non-LabVIEW) installer, I use http://www.dev4pc.com/setup2go.html' target="_blank">Setup2Go from SDSSoftware - it's interface is very similar to InstallShield, it's very easy to use, highly configurable and the free version is fully functional (it only costs $29 to get rid of the nag screen).

    great tip, thanks :) I think I gonna buy it ...

  9. QUOTE(Michael_Aivaliotis @ May 4 2007, 12:13 PM)

    [...] Other than checking everyone's certification credentials I don't see how? Putting all LAVA members through a test? Is this really necessary?

    @Michel

    no.

    I say it again: most of the members here are "real men", playing with real expensive toys (e.g. LV + RT + FPGA ;)) and are responsible für 100.000 testing systems. We should be a) intelligent enough and b) *hard* enough to deal with a few HHs. If there is to much *noise* then maybe we will need Moderators in the future, but I feel that is not necessary at the moment.

    @all:

    concerning the idea of an l33t-forum. I tried that and the result was: one year => 22 members, 2 members are "constantly" posting, the one is me, the other is a newbie ;) - which leads me to the conclusion: there is no market for such a community ;)

    last but not least: if there is a negative maximum, there is a positive maximum, too. If the negative max is a HH, the positive max is a *guru* who hovers in selfconfidence and does not even think about answering a question of one of these uncertified pseudo wannabe LV maggots ... it's up to you, to decide, if you want to be an extreme, or if you want to stay in the middle :)

  10. QUOTE(Noxious @ May 3 2007, 11:51 PM)

    I was able to get the Zip file extractor to work with the batch file... seems like kind of a round about way to do it, but it works.

    glad to hear it works :)

    on the other hand: that leads me to the question, whether it is possible to manipulate the "additional installers" list, by e.g. editing the AppBuilder ressource files?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.