Serial data between two BT boards at once

I am fairly new to this, and want to know if it is feasible to take a analog signal obtained from one BT board (which I have continuously being updated and displayed in my serial monitor) and then do a threshold comparison on that value, and then depending on the value send a simple command to another BT board. I have a mac and can't figure out how to open two arduino environments at once. Can you talk to two separate serial ports on two separate boards at once?

Thanks a lot,

fwilson118

If I under stand correctly you want to take the output from one board, send it to the computer and do some math on it and then send something out to the other board correct?

I assume that both boards will appear as serial ports. Under Linux they will appear as /dev/ttyUSB0 and I think under a mac they are under /dev/cu.usbserial0 (according to this page: Getting data from your serial GPS when your computer has no serial port - OpenStreetMap Wiki). As a test you might can cat the data coming from one port directly from the other. ie: cat /dev/cu.usbserial0 >> /dev/cu.usbserial1.

hehe this is all conjecture. I don't use a Mac and have never tried to connect more than one Bluetooth device to my Linux machine at a time. Please let me know how this works out as I am curious.