Vi to real instrument

I've recently been trying to convert what was done in linux to labview and am having trouble on a few steps.  I am trying to control a Nima box that controls stepper motors and various other things.  The main problem I am having is, I'm not exactly sure how to make the code I wrote for a VI work with the actual instrument over a serial cable.  I attached the code I am using.  Is it just another chunk of code I need to add into this?  I received various .vi files from Nima: AD4, BuildCmS, CheckSum, DA4, DataRply, DectoHx2, DectoHx4, Globaray, Globvar2, Globvar3, Globvar4, Globvar5, Globvar6, Globvars, HextoDec, IO, Relays.  Am I to combine these into some sort of driver or integrate them into the program I already started?  Thanks for any suggestions
Attachments:
stepper.jpg ‏39 KB

Did Nima provide an example VI's to show how these VI's can be used together?  Those VI's you listed sound like they are already set to be a SubVI in which case you should use them as such rather than trying to "integrate" them into your code which I assume means a cut and paste job.
Your code shows only 1 subVI (Digport).  The code is an unusual architecture.  Is this supposed to be your top level VI?  Most things that are occurring only happen once except for a start/stop button that just spins a loop pumping out a string has fast as it can until the button is released, then it does another iteration of the outer loop.
For communication with a serial device, look in the example finder for examples doing Serial reads and writes using VISA commands.

Similar Messages

  • Where to Plug real Instruments? in iPad

    Where to Plug real Instruments? in iPad

    reinhardfromsinsheim wrote:
    Where to Plug real Instruments? in iPad
    you need an audio interface like this one

  • "Too Many Real Instruments"

    I am posting this in the '09 topic, but my question really dates back to Garageband '08. I rely on Garageband often, and I'm a big fan of it. However, it contains a serious problem which I need fixed.
    I create a new project, drop a single iTunes song into it, and begin to edit. Almost every time, randomly while playing the song the "Part of the project was not played. This project has too many real instrument tracks to be played in real-time" warning message appears. I only have 1 track! Worse still, my audio driver lets out a terrible "HONK" which startles me and blasts through the entire house. After that, My sound output faintly exists until I open up Audio MIDI Setup and change a random setting on my output.
    I am quite tired of this predicament. Is there anyway to fix this (without money)?

    I was experiencing a similar problem, and I just got off the phone with applecare and went through all their steps.
    I'll try my best to recount them here. But before I do, let it be said that the tech fellow, once he heard what I was doing, exclaimed that my core problem was that I needed to be creating new projects, and not re-using the same project (ex. "My Song 2") over and over.
    What I've been doing is backing up a pile of mini-discs that have live concerts on them. A couple of hours of audio each one, and I've been recording them into Garageband. After I divide the concert up into songs and export them to itunes, I've been deleting the track in Garageband and then importing the next concert (repeat x 10 concerts).
    About 7-8 concerts in I started getting that popping sound when the sound would cut out (made the sound of depressing the safety-seal bubble on the metal lid of a jam jar). At first, quitting Garageband and opening it again would work. On the 10th concert, when the sound cut out the sound for the whole computer would stop working (itunes, volume buttons on my keyboard, everything).
    So the tech fellow said the lesson is this: create new projects. Don't be shy about it. No need to re-use and recycle in cyberspace.
    Now - my applecare steps:
    - First we went: Macintosh HD, Library, then dragged "Caches" to the trash
    - then went to Finder, Go, Utilities, Disk Utility, Macintosh HD, Repair Disk Permissions (that took some time)
    - then restarted the computer
    All seems to be well now.
    Good luck

  • Too many real instruments; Need help bouncing tracks

    Hello, I've been using GarageBand to record a demo for my band. Unfortunately, I've hit my peak number of real instrument tracks. I have a lot of tracks that are the same (well, not EXACTLY the same, but the same musical part), where one is panned left and the other is panned right. Is there a way I can take tracks like these and bounce them down to one stereo track without losing quality or the panning of the tracks? Thanks a ton.
    -Kevin

    I use an external FireWire drive which I move between machines and rooms, thus I plug in to the iBook and record, unplug and plug into the iMac and mix.
    You could copy the files (they'll be huge) over ethernet, or airport (You could get a cheap hub or router for hooking the machines up. In fact, CompUSA has a 4 port (and wireless) router on sale this week for $4.99 <sic> after rebate), or perhaps burn them to CD-RW/DVD-RW.
    how many more tracks do you think I'd be able to get out of my iMac G5
    I'm not sure. I think the max I have done so far was 36 (that got pared down to 34). I guess some day I'm going to have to try this myself, see how far I can actually get. I remember doing a simple none Real World test months ago (I'm sure the post is gone by now <sigh>) in which I simply compared my iBook's internal drive an an external drive.
    Unfortunately in trying to make the test doable in a reasonable amount of time I only recorded 1 minute tracks, and I'm sure that's a factor, but I seem to recall getting more than 40 with GB(1) and the external drive.

  • Too many real instruments for a new project?

    I keep getting the notification which says "Part of the project was not played - This project has too many real instrument tracks to be played in real-time".
    BUT the problem is that this occurs even when I open a new garageband file (i.e. no tracks!) and I'm only 3 seconds into recording the first track! So garageband is basically not working for me. I've tried uninstalling and reinstalling it to no avail. Just a few months back I was still able to use it comfortably to do edit many different tracks together so I really don't know what the problem is. I don't really know if its a problem with the processor as I barely use the memory on my macbook pro and even when recording CPU usage doesn't go above 20% so I'm really at a loss. Please help!

    Oh apple support asked me to try that out too but it did not work.. In fact for some of the suggestions they gave (eg using a different user, or even locking the track) it only managed to extend the period of recording to about 10 seconds before the problem resurfaced and after that it was back to the same 3 second problem.
    But that is an important clue, Josiah. If you cannot even record properly from a different user account with basic settings, we know that the settings in your user account cannot be causing this - this looks like system wide trouble.
    You could run a hardware check over night, to check your hardware:
    Intel-based Macs: Using Apple Hardware Test
    and if the hardware check does not show any problems, I'd reinstall Mountain Lion.
    See Linc Davis's post on how to reinstall: Re: Garageband doesn't open in Mac Mini mid 2011
    Regards
    Léonie

  • Effects for real instruments

    Is there any way to get more effects to add to real instruments? I know you can add more software instruments to the library with jam packs and what not but do they add more effets that you can use on real instruments?

    http://www.bulletsandbones.com/GB/PluginsAUEffects.html

  • Cant hear real instruments on playback in Garage band

    Can anyone tell me why I can't hear the real instruments in my song in garage band version 5.1 on macbook. I could hear everything while recording the tracks and the last time I listened to the song but now all I can hear are the software instruments. I can see the WAV data and the VU meters are moving on every track. I opened up a different song and I could here the real instrument on it. All settings etc are the same , nothing is solo'd, ? ! Any ideas please ? !

    In the new GarageBand the quantize is per region.
    For a real instrument region open the Track editor.
    Select the "track" tab and click "Enable Flex"
    Select the "Region" tab and you will see the "quantize" control.

  • HELP!! Real instruments sound reverby and warped upon playback

    Hey , i'm running garage band 08 with all the latest updates 4.1.2 and i am trying to record an acoustic guitar as a real instrument track. After i record however, it sounds almost like there is some kind of subtle reverb or echo and the instrument just doesnt sound right. My audio Midi settings are as follows
    44100.0Hz
    2ch-24bit
    Using internal mic
    On a different macbook pro using all the same settings on both machines i recorded the same guitar and it sounds perfect. I am also not using any reverb or echo or any effects and it still sounds wrong. Is there a problem with my internal mic or am i just doing something wrong with GB setting.
    Any help or suggestions would be hugely appreciated
    many thanks

    Yeah, check the individual track settings for effects. When you record, you want to record an un-effected signal. You can then manipulate that signal with processed effects of your choice. I usually save the original recordings of each song as the "name of the song 0", and when I experiment w/effects i'll save the subsequent ones as 1,2,3,..etc. You can always go back and combine/re-edit to get what you had in mind. Also, make sure you don't have a big empty room you're recording in. Acoustics in a big room give you natural reverb. Play around with the track, and then the master volumes, as well, when in different rooms of the house.

  • All Real Instruments coming through in Mono

    I am using a lexicon Omega interface into garage band. The input settings say stereo but every real instrument I record comes through in mono. The only time I can get stereo is when I use one of the garage band instrument settings which is fine for guitars and keyboards. Any suggestions?

    http://www.bulletsandbones.com/GB/GBFAQ.html#leftspeakeronly
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Iphone real instruments internal mic

    I still use GB in my powerbook. I have not uses the sampled instruments yet. But in iphone am enjoying the ability to quickly use the internal mic for real instrument ideas. saves time the way cassette players used to for easy access when inspiration hits...and the abi;lity to add tracks to the idea is great. are there tips to maximize this feature?

    Thanks.  I am not sure if I want to pay that much for a 4s.  I was scouring through this forum last night trying to see if there is quick remedy since its waste to see a perfectly good phone go away.  I hear feedback of my voice and the other caller hears static noise, as soon as I change to speaker phone or use the headset everything is fine.

  • Looping real instruments  - follow time of project option not selectable

    Hi,
    I've recorded a real instrument track, now I would like to make it loopable and safe it to the instruments library.
    So, I trimmed it to the desired lenght and wanted to export it.
    Now my problem:
    the export option "follow time and tonality" is not selectable irrespective whether or not I checked the box at the bottom in the edit track window that should allow the loop for following the project parameters.
    Does anyone know what could be the problem?
    THANKS

    It seems that it is crucial to adjust the region one wants to loop to an integer bar lenght, then recheck the box, follow time and tonality in the track window. I have noticed that although following the same proceedure sometimes it not possible to export the such a loop as one that follows the tempo of the song (unable to check box, in the loop-export dialogue). To me the reason is not completely clear, often it requires some trial and error, import loop in new project to export it as a tempo following one.

  • Playing real instruments with software instruments

    Hey, I've been using logic for years but have never tried playing with a real instrument until now. When i connect my guitar Logic recognizes it and changes the driver to unknown USB device, but there is no sound since built-in input isn't selected and the instrument records but i can't hear it until i switch it back. How do you play real instruments with software instruments? Should be pretty simple. Thanks.
    - Sean

    Okay… the way Logic works is to use the same device for both Inputs & Outputs (there is a way round this, but let's not go there just now. First person to say 'Aggregate Device' gets thumped!).
    So when you choose your device (usefully known as "Unknown USB Device") in Audio MIDI Setup, this means that you are no longer using your Built-in Inputs & Outputs — because that's the alternative.
    Which means you won't hear anything through your speakers connected to your Mac. To hear an Output, you would have to connect your monitors/headphones/etc. to your device.
    Furthermore:
    _Auto Input Monitoring_
    If Auto Input Monitoring is switched on, you will only hear the input signal during the actual recording—before and afterwards, you’ll hear the previously recorded audio on the track, while the sequencer is running. This helps you to judge punch in and punch out points when punch recording. If Auto Input Monitoring is switched off, you will always hear the input signal.
    _To switch auto input monitoring on, do one of the following:_
    • Choose +Options > Audio > Auto Input Monitoring+ from the main menu bar (or use the +Toggle Auto Input Monitoring+ key command).
    • Control-click the Record button in the Transport, and turn on the +Auto Input Monitoring+ setting in the pop-up menu.

  • Using real instruments on Powerbook G4

    Hi,
    I've been using garageband on my ibook for over a year now and thought that I would try using it on my sister's PowerBook G4. The program works fine with software instruments, but when I plug my gutiar into it and try to use other real instruments with it it does not record a thing. This is weired because the program fully registers that a real instrument is plugged in and looks as if its recording while I'm playing what I'm playing on it. So, why is this? Is there any way I can fix this problem? How would I do it?

    I think I understand what you are doing and what the problem might be:
    "Then I open garageband and start a new file. Then I change the instrument setting from software instruments to real instruments."
    When GB opens it has a software piano track that it displays by default. You create a new track. The screen comes up and you set it up as a Real Instrument Track. When you create a new track it will be enabled for recording and a little red button will light up showing that that track is enabled for recording, as long as that track is selected.
    "Then I delete the software track and begin to try and record a new basic track."
    When you select the software instrument track to delete it, you are deselecting the track you just created and GB turns off the track-enabling button on that real instrument track. Try not deleting that default software piano track and see if that helps. It certainly doesn't hurt to leave it there.
    "Then I push the record button and start to play. As I'm playing I'll see the line moving and the color changing purple or red or whatever color it turns, I don't remember which indicating that I'm recording something."
    That is the part I don't understand, because it shouldn't be creating any sort of colored region, but the line does move. That's my best guess, anyway.

  • Using real instruments to control software instruments

    I recently bought the Apogee Duet to play my guitars and keyboard directly into Garageband (and soon Logic Studio). My problem is that I haven't been able to figure out how to control software instruments using real instruments. For example, is there way for me to connect my Piano Keyboard through Duet into my computer, but use it to play software tracks like strings and horns, etc? I would like to do this without using MIDI, since I just spent $500 on the Duet. Is this possible, or is the only way to control software instruments through an external instrument by using MIDI? Thanks so much for any help....

    Assuming your keyboard requires an external MIDI interface (some have MIDI interfaces onboard), you can pick one up pretty cheaply - for example, M-Audio's Midisport or Uno are decent and inexpensive.

  • No "Real Instruments" Listed

    I have had my iBook for about a month and use GarageBand a lot. Then I went on and wanted to record something and there was nothing listed under "Real Instruments." Is this permanent or is there a way to get the recording styles listed. I hope someone knows.
    Thank You,
    Ampaudi

    Those are just presets. You should still be able to create a basic track with no effects without them, I'd think. Could you have deleted them somehow?
    They reside in (HD/Application Support/GarageBand/Instrument Library/Track Settings/Real) inside there there should be a list of folder for each type of instrument (Band Instruments, Vocals, Drums, Bass, Basic Track, Guitars, Effects) and inside those folders are the .cst files that are the presets.
    Don't move or change anything in these folders! But you can go there to see if they are indeed still there.
    If they are still in there, try logging in as another user and see if they show up and/or repair permissions and run disk utilities and see if that clears it up.

  • ESX. Real Instruments in GB disappeared after Lion Upgrade

    Hi:
    After upgrading to Lion and Moutain Lion all of our 3rd party real instruments have disappeared in Garageband. They worked perfectly fine before the upgrade. I have tried re-installing, etc. And nothing. They are located in the appropriate folders in library/applications support/Garageband/iinstrument library, etc.
    The still work in Logic, but have disappeared in Garageband.
    Any ideas?
    Quint
    http://www.drumsondemand.com

    I did get them to show up by opening an old project file with a missing instrument in it and when I click on that track, boom, all of the missing instruments showed up. But I wonder what the command is to get GB to "rescan" for the real instruments.

Maybe you are looking for

  • How to prevent BPC from automated calculating for hierarchies / nodes?

    Hi experts, I am looking for a practicable way to prevent the system from automated calculating for hierarchies, and especially for nodes within hierarchies? Let's say, I have ENTITIES (AS A HIERACHY) in rows and ACCOUNTS in COLUMNS. Now I want the s

  • Errors 1335 and 2350

    I seem to have a similar problem installing the latest version of Adobe Reader 9.3 as others have had in the past with other Adobe products, but I'm not sure I understand either the cause or solution.  I previously had Adobe Reader 7 on my laptop and

  • Helix only works with external power

    Hello Just received my Helix and I have some issue, one of the biggest issue so far is that it will only power up and stay on with external power, when I dock it it works fine, if I undock it it will shut down, if I plug the power cord to the tablet

  • How to Create this Table in Java?

    How do i create a table with the heading set out as below. \\i tried to create it using the netbeans ide, with there drag and drop but you cant seem to be able to alter the size of the different tables. | Home Win | Draw | Away Win | Match | Yours Od

  • Wacom Intuos 2 lives to see another OSx (10.9.2) upgrade!

    Re: installing Wacom Intuos 2 on OSX 10.9.2. Wacom Intuos 2 lives to see another OS upgrade! I upgaded to a iMac 27"  Intel Core i7 from a wonderful iMac circa 2005 running OSX 10.6, but woefully underpowered After unsuccessfully attempting to instal